projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0ec95
)
[ARM] S3C24XX: GPIO: Fix missing GPIOs in gpiolib
author
Ben Dooks
<ben-linux@fluff.org>
Mon, 18 May 2009 19:10:43 +0000
(20:10 +0100)
committer
Ben Dooks
<ben-linux@fluff.org>
Mon, 18 May 2009 19:20:12 +0000
(20:20 +0100)
The GPG bank has 16 IOs, not 10. Add the missing GPH bank.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c24xx/gpiolib.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-s3c24xx/gpiolib.c
b/arch/arm/plat-s3c24xx/gpiolib.c
index
9a2d114
..
6d7a961
100644
(file)
--- a/
arch/arm/plat-s3c24xx/gpiolib.c
+++ b/
arch/arm/plat-s3c24xx/gpiolib.c
@@
-148,9
+148,18
@@
struct s3c_gpio_chip s3c24xx_gpios[] = {
.base = S3C2410_GPG(0),
.owner = THIS_MODULE,
.label = "GPIOG",
- .ngpio = 1
0
,
+ .ngpio = 1
6
,
.to_irq = s3c24xx_gpiolib_bankg_toirq,
},
+ }, {
+ .base = S3C2410_GPHCON,
+ .pm = __gpio_pm(&s3c_gpio_pm_2bit),
+ .chip = {
+ .base = S3C2410_GPH(0),
+ .owner = THIS_MODULE,
+ .label = "GPIOH",
+ .ngpio = 11,
+ },
},
};