summaryrefslogtreecommitdiff
path: root/packages/linux/nslu2-kernel/2.6.14/10-ixp4xx-gpio.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-09-24 23:40:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-24 23:40:41 +0000
commit52fc464946f780b1302fe9ac47176415faf5ef9a (patch)
tree8ab0bf85e935c741ab1e90dcd9cd96a660562c26 /packages/linux/nslu2-kernel/2.6.14/10-ixp4xx-gpio.patch
parent6fdac80bba1c2ccc0e675e2428f830a127fb3fb5 (diff)
nslu2-kernel, openslug-kernel: 2.6.14-rc2 (ixp425-eth will not build with this)
Diffstat (limited to 'packages/linux/nslu2-kernel/2.6.14/10-ixp4xx-gpio.patch')
-rw-r--r--packages/linux/nslu2-kernel/2.6.14/10-ixp4xx-gpio.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/linux/nslu2-kernel/2.6.14/10-ixp4xx-gpio.patch b/packages/linux/nslu2-kernel/2.6.14/10-ixp4xx-gpio.patch
new file mode 100644
index 0000000000..f3f1bc3129
--- /dev/null
+++ b/packages/linux/nslu2-kernel/2.6.14/10-ixp4xx-gpio.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.14-rc2/include/asm-arm/arch-ixp4xx/platform.h 2005-09-24 13:17:24.000000000 +0200
++++ test3/include/asm-arm/arch-ixp4xx/platform.h 2005-09-24 16:41:17.000000000 +0200
+@@ -93,7 +93,7 @@
+
+ static inline void gpio_line_config(u8 line, u32 direction)
+ {
+- if (direction == IXP4XX_GPIO_OUT)
++ if (direction == IXP4XX_GPIO_IN)
+ *IXP4XX_GPIO_GPOER |= (1 << line);
+ else
+ *IXP4XX_GPIO_GPOER &= ~(1 << line);