diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-11-03 00:29:53 +0100 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-12-06 10:16:51 +0100 |
commit | 918c165eec82a9a28175e539e86390eb6430d709 (patch) | |
tree | 030c95bcb5854ac144731d01f2db189524ea2322 /arch/arm/plat-s3c24xx | |
parent | f75fde0eadb4d45b23956b82f91a3ba0a4b8b71e (diff) |
s3c: Register gpio bank J with gpiolib
This is nonportable and wastes a lot of memory and thus should be replaced with
a prober solution asap.
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) { |