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:
52f0c67
)
[ARM] 3902/1: Enable GPIO81-84 on PXA255
author
Craig Hughes
<craig@com.rmk.(none)>
Mon, 23 Oct 2006 23:47:35 +0000
(
00:47
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 24 Oct 2006 21:02:48 +0000
(22:02 +0100)
The PXA255 has 84 GPIO lines available. This patch allows access to 81-84
Signed-off-by: Craig Hughes <craig@gumstix.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/irqs.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/arch-pxa/irqs.h
b/include/asm-arm/arch-pxa/irqs.h
index f3bc70eee35b3b7aabc012af82170db1f1133ded..67ed43674c635a66a3a947accb3a757810fdd260 100644
(file)
--- a/
include/asm-arm/arch-pxa/irqs.h
+++ b/
include/asm-arm/arch-pxa/irqs.h
@@
-73,7
+73,7
@@
#define IRQ_TO_GPIO(i) (((i) < IRQ_GPIO(2)) ? ((i) - IRQ_GPIO0) : IRQ_TO_GPIO_2_x(i))
#if defined(CONFIG_PXA25x)
-#define PXA_LAST_GPIO 8
0
+#define PXA_LAST_GPIO 8
4
#elif defined(CONFIG_PXA27x)
#define PXA_LAST_GPIO 127
#endif