make ixp4xx require gpiolib
[openwrt.git] / target / linux / ixp4xx / patches-2.6.28 / 402-ixp4xx_gpiolib.patch
index f59e097..b9b7305 100644 (file)
        select GENERIC_GPIO
        select GENERIC_TIME
        select GENERIC_CLOCKEVENTS
-+      select ARCH_WANT_OPTIONAL_GPIOLIB
++      select ARCH_REQUIRE_GPIOLIB
        select DMABOUNCE if PCI
        help
          Support for Intel's IXP4XX (XScale) family of processors.
---- a/arch/arm/mach-ixp4xx/Kconfig
-+++ b/arch/arm/mach-ixp4xx/Kconfig
-@@ -28,6 +28,7 @@ config MACH_AVILA
- config MACH_CAMBRIA
-       bool "Cambria"
-       select PCI
-+      select GPIOLIB
-       help
-         Say 'Y' here if you want your kernel to support the Gateworks
-         Cambria series. For more information on this platform,
 --- a/arch/arm/mach-ixp4xx/include/mach/gpio.h
 +++ b/arch/arm/mach-ixp4xx/include/mach/gpio.h
 @@ -27,47 +27,31 @@