summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-gumstix-2.6.15/pxa255-gpio-count-bugfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-gumstix-2.6.15/pxa255-gpio-count-bugfix.patch')
-rw-r--r--recipes/linux/linux-gumstix-2.6.15/pxa255-gpio-count-bugfix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/linux/linux-gumstix-2.6.15/pxa255-gpio-count-bugfix.patch b/recipes/linux/linux-gumstix-2.6.15/pxa255-gpio-count-bugfix.patch
new file mode 100644
index 0000000000..655f6c577d
--- /dev/null
+++ b/recipes/linux/linux-gumstix-2.6.15/pxa255-gpio-count-bugfix.patch
@@ -0,0 +1,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