summaryrefslogtreecommitdiff
path: root/drivers/gpio/tps65910-gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/tps65910-gpio.c')
-rw-r--r--drivers/gpio/tps65910-gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/tps65910-gpio.c b/drivers/gpio/tps65910-gpio.c
index 8d1ddfdd63eb..15097ca616d6 100644
--- 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;
}