summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.18/gpio-define-pio-none.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-2.6.18/gpio-define-pio-none.patch')
-rw-r--r--packages/linux/linux-2.6.18/gpio-define-pio-none.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.18/gpio-define-pio-none.patch b/packages/linux/linux-2.6.18/gpio-define-pio-none.patch
new file mode 100644
index 0000000000..802a535354
--- /dev/null
+++ b/packages/linux/linux-2.6.18/gpio-define-pio-none.patch
@@ -0,0 +1,11 @@
+Index: linux-2.6.18/include/asm-avr32/arch-at32ap/at32ap7000.h
+===================================================================
+--- linux-2.6.18.orig/include/asm-avr32/arch-at32ap/at32ap7000.h 2006-12-11 14:53:54.000000000 +0100
++++ linux-2.6.18/include/asm-avr32/arch-at32ap/at32ap7000.h 2006-12-11 14:56:54.000000000 +0100
+@@ -23,4 +23,6 @@
+ #define GPIO_PIN_PD(N) (GPIO_PIOD_BASE + (N))
+ #define GPIO_PIN_PE(N) (GPIO_PIOE_BASE + (N))
+
++#define GPIO_PIO_NONE (0xFFFFffff)
++
+ #endif /* __ASM_ARCH_AT32AP7000_H */