diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-05-18 15:10:43 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-18 15:20:12 -0400 |
commit | 5233c178d4cedad0acd0eb0f24b2e09f7fafaa1c (patch) | |
tree | cccd9ec754aff9ec88920e37d7082ec35a4f7823 /arch/arm/plat-s3c24xx | |
parent | 9c0ec95797052af84b7579e2a00ea212cebf71a8 (diff) |
[ARM] S3C24XX: GPIO: Fix missing GPIOs in gpiolib
The GPG bank has 16 IOs, not 10. Add the missing GPH bank.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/gpiolib.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/gpiolib.c b/arch/arm/plat-s3c24xx/gpiolib.c index 9a2d114005b5..6d7a961d3269 100644 --- a/arch/arm/plat-s3c24xx/gpiolib.c +++ b/arch/arm/plat-s3c24xx/gpiolib.c | |||
@@ -148,9 +148,18 @@ struct s3c_gpio_chip s3c24xx_gpios[] = { | |||
148 | .base = S3C2410_GPG(0), | 148 | .base = S3C2410_GPG(0), |
149 | .owner = THIS_MODULE, | 149 | .owner = THIS_MODULE, |
150 | .label = "GPIOG", | 150 | .label = "GPIOG", |
151 | .ngpio = 10, | 151 | .ngpio = 16, |
152 | .to_irq = s3c24xx_gpiolib_bankg_toirq, | 152 | .to_irq = s3c24xx_gpiolib_bankg_toirq, |
153 | }, | 153 | }, |
154 | }, { | ||
155 | .base = S3C2410_GPHCON, | ||
156 | .pm = __gpio_pm(&s3c_gpio_pm_2bit), | ||
157 | .chip = { | ||
158 | .base = S3C2410_GPH(0), | ||
159 | .owner = THIS_MODULE, | ||
160 | .label = "GPIOH", | ||
161 | .ngpio = 11, | ||
162 | }, | ||
154 | }, | 163 | }, |
155 | }; | 164 | }; |
156 | 165 | ||