Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360101
b: refs/heads/master
c: f818ca3
h: refs/heads/master
i:
  360099: fc113d9
v: v3
  • Loading branch information
Gabor Juhos authored and John Crispin committed Feb 19, 2013
1 parent 9d1af0c commit e31d7bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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: 53330332f176eaa9567481c69bbad8b2176b4eb5
refs/heads/master: f818ca3e6894d4a630a1ecc673c91df8fb6f6898
4 changes: 3 additions & 1 deletion trunk/arch/mips/ath79/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,14 @@ void __init ath79_gpio_init(void)
ath79_gpio_count = AR933X_GPIO_COUNT;
else if (soc_is_ar934x())
ath79_gpio_count = AR934X_GPIO_COUNT;
else if (soc_is_qca955x())
ath79_gpio_count = QCA955X_GPIO_COUNT;
else
BUG();

ath79_gpio_base = ioremap_nocache(AR71XX_GPIO_BASE, AR71XX_GPIO_SIZE);
ath79_gpio_chip.ngpio = ath79_gpio_count;
if (soc_is_ar934x()) {
if (soc_is_ar934x() || soc_is_qca955x()) {
ath79_gpio_chip.direction_input = ar934x_gpio_direction_input;
ath79_gpio_chip.direction_output = ar934x_gpio_direction_output;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@
#define AR913X_GPIO_COUNT 22
#define AR933X_GPIO_COUNT 30
#define AR934X_GPIO_COUNT 23
#define QCA955X_GPIO_COUNT 24

/*
* SRIF block
Expand Down

0 comments on commit e31d7bf

Please sign in to comment.