Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322240
b: refs/heads/master
c: b4da14a
h: refs/heads/master
v: v3
  • Loading branch information
Gabor Juhos authored and Ralf Baechle committed Aug 17, 2012
1 parent e326cf2 commit 6322760
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87161ccdc61862c8b49e75c21209d7f79dc758e9
refs/heads/master: b4da14abf27227fc767ec257f44de70085a0bc68
6 changes: 4 additions & 2 deletions trunk/arch/mips/ath79/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ void __init ath79_gpio_init(void)

if (soc_is_ar71xx())
ath79_gpio_count = AR71XX_GPIO_COUNT;
else if (soc_is_ar724x())
ath79_gpio_count = AR724X_GPIO_COUNT;
else if (soc_is_ar7240())
ath79_gpio_count = AR7240_GPIO_COUNT;
else if (soc_is_ar7241() || soc_is_ar7242())
ath79_gpio_count = AR7241_GPIO_COUNT;
else if (soc_is_ar913x())
ath79_gpio_count = AR913X_GPIO_COUNT;
else if (soc_is_ar933x())
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@
#define AR71XX_GPIO_REG_FUNC 0x28

#define AR71XX_GPIO_COUNT 16
#define AR724X_GPIO_COUNT 18
#define AR7240_GPIO_COUNT 18
#define AR7241_GPIO_COUNT 20
#define AR913X_GPIO_COUNT 22
#define AR933X_GPIO_COUNT 30
#define AR934X_GPIO_COUNT 23
Expand Down

0 comments on commit 6322760

Please sign in to comment.