projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe0d422
)
gpio: tps65910: add missing breaks in tps65910_gpio_init
author
Axel Lin
<axel.lin@gmail.com>
Wed, 6 Jul 2011 02:08:27 +0000
(10:08 +0800)
committer
Grant Likely
<grant.likely@secretlab.ca>
Wed, 6 Jul 2011 05:17:08 +0000
(23:17 -0600)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/tps65910-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/tps65910-gpio.c
b/drivers/gpio/tps65910-gpio.c
index 8d1ddfdd63eb2ab6b89eb749ee831e37ede6b96d..15097ca616d69606e150ab96c62bfa89a38159cf 100644
(file)
--- a/
drivers/gpio/tps65910-gpio.c
+++ b/
drivers/gpio/tps65910-gpio.c
@@
-81,8
+81,10
@@
void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base)
switch(tps65910_chip_id(tps65910)) {
case TPS65910:
tps65910->gpio.ngpio = 6;
+ break;
case TPS65911:
tps65910->gpio.ngpio = 9;
+ break;
default:
return;
}