Implement architecture speficic GPIO calls for adm5120, thanks to Gabor Juhos
[openwrt-10.03/.git] / target / linux / adm5120-2.6 / patches / 001-adm5120.patch
index a77d1218dd7657b2fcec15ee19c9659eaa5717d7..cc8739e2175b91683b15e140dc93f2445d95c08f 100644 (file)
@@ -1,7 +1,7 @@
 diff -urN linux-2.6.19.2/arch/mips/Kconfig linux-2.6.19.2.new/arch/mips/Kconfig
 --- linux-2.6.19.2/arch/mips/Kconfig   2007-01-10 20:10:37.000000000 +0100
 +++ linux-2.6.19.2.new/arch/mips/Kconfig       2007-01-23 14:49:38.000000000 +0100
-@@ -12,6 +12,19 @@
+@@ -12,6 +12,20 @@
        prompt "System type"
        default SGI_IP22
 
@@ -13,6 +13,7 @@ diff -urN linux-2.6.19.2/arch/mips/Kconfig linux-2.6.19.2.new/arch/mips/Kconfig
 +      select SYS_SUPPORTS_LITTLE_ENDIAN
 +      select SYS_SUPPORTS_BIG_ENDIAN
 +      select SYS_SUPPORTS_32BIT_KERNEL
++      select GENERIC_GPIO
 +
 +config PCI_ADM5120
 +      bool "Add PCI control support for ADM5120"