diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-11-03 00:59:12 +0100 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-11-03 00:59:12 +0100 |
commit | 4908c7da3a111397a50f1beed67bd4bdbd377d90 (patch) | |
tree | d71370384edd5e6a34ee2afd7578f2d558f1b6b8 /arch/arm/plat-s3c24xx | |
parent | 93d68dbdae33adb601a68188adb67a5251bd89e5 (diff) | |
parent | 6b402a65031af570d7696dc545aeb7960ae41b6b (diff) |
Merge branch 'om-s3c-2.6.31' into om-gta02-2.6.31
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/gpiolib.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/plat-s3c24xx/gpiolib.c b/arch/arm/plat-s3c24xx/gpiolib.c index 6d7a961d326..c2dd900660b 100644 --- a/arch/arm/plat-s3c24xx/gpiolib.c +++ b/arch/arm/plat-s3c24xx/gpiolib.c @@ -26,6 +26,7 @@ #include <plat/pm.h> #include <mach/regs-gpio.h> +#include <mach/regs-gpioj.h> static int s3c24xx_gpiolib_banka_input(struct gpio_chip *chip, unsigned offset) { @@ -160,8 +161,16 @@ struct s3c_gpio_chip s3c24xx_gpios[] = { .label = "GPIOH", .ngpio = 11, }, - }, -}; + }, { + .base = S3C2440_GPJCON, + .pm = __gpio_pm(&s3c_gpio_pm_2bit), + .chip = { + .base = S3C2440_GPJ0, + .owner = THIS_MODULE, + .label = "GPIOJ", + .ngpio = 11, + }, + },}; static __init int s3c24xx_gpiolib_init(void) { |