summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-gumstix-2.6.15/pxa255-gpio-count-bugfix.patch
blob: 655f6c577d14c0b97d34270f5833ca879a70e1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: linux-2.6.15gum/include/asm-arm/arch-pxa/irqs.h
===================================================================
--- linux-2.6.15gum.orig/include/asm-arm/arch-pxa/irqs.h
+++ linux-2.6.15gum/include/asm-arm/arch-pxa/irqs.h
@@ -74,7 +74,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	80
+#define PXA_LAST_GPIO	84
 #elif defined(CONFIG_PXA27x)
 #define PXA_LAST_GPIO	127
 #endif