Skip to content

Commit

Permalink
Merge branch 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6
Browse files Browse the repository at this point in the history
* 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6:
  gpio: tps65910: add missing breaks in tps65910_gpio_init
  • Loading branch information
Linus Torvalds committed Jul 7, 2011
2 parents 9b61fc4 + 58956ba commit 4dd1b49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpio/tps65910-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4dd1b49

Please sign in to comment.