]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/nslu2-kernel/2.6.14/10-ixp4xx-gpio.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / nslu2-kernel / 2.6.14 / 10-ixp4xx-gpio.patch
1 --- linux-2.6.14-rc2/include/asm-arm/arch-ixp4xx/platform.h     2005-09-24 13:17:24.000000000 +0200
2 +++ test3/include/asm-arm/arch-ixp4xx/platform.h        2005-09-24 16:41:17.000000000 +0200
3 @@ -93,7 +93,7 @@
4  
5  static inline void gpio_line_config(u8 line, u32 direction)
6  {
7 -       if (direction == IXP4XX_GPIO_OUT)
8 +       if (direction == IXP4XX_GPIO_IN)
9                 *IXP4XX_GPIO_GPOER |= (1 << line);
10         else
11                 *IXP4XX_GPIO_GPOER &= ~(1 << line);