X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bb41458ba515f1296d12a87affceab482f795077..2a88ac56956dbae4320bb19b2a17536d7757049c:/target/linux/ixp4xx/patches-2.6.28/402-ixp4xx_gpiolib.patch?ds=inline diff --git a/target/linux/ixp4xx/patches-2.6.28/402-ixp4xx_gpiolib.patch b/target/linux/ixp4xx/patches-2.6.28/402-ixp4xx_gpiolib.patch index 49726d6ea..b9b73057f 100644 --- a/target/linux/ixp4xx/patches-2.6.28/402-ixp4xx_gpiolib.patch +++ b/target/linux/ixp4xx/patches-2.6.28/402-ixp4xx_gpiolib.patch @@ -1,6 +1,5 @@ -diff -ruN a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c ---- a/arch/arm/mach-ixp4xx/common.c 2008-10-08 20:24:05.000000000 -0700 -+++ b/arch/arm/mach-ixp4xx/common.c 2009-01-16 20:55:10.000000000 -0800 +--- a/arch/arm/mach-ixp4xx/common.c ++++ b/arch/arm/mach-ixp4xx/common.c @@ -36,6 +36,7 @@ #include #include @@ -9,7 +8,7 @@ diff -ruN a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c #include #include -@@ -374,12 +375,39 @@ +@@ -374,12 +375,39 @@ static struct platform_device *ixp46x_de unsigned long ixp4xx_exp_bus_size; EXPORT_SYMBOL(ixp4xx_exp_bus_size); @@ -49,32 +48,18 @@ diff -ruN a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c if (cpu_is_ixp46x()) { int region; -diff -ruN a/arch/arm/Kconfig b/arch/arm/Kconfig ---- a/arch/arm/Kconfig 2009-01-18 19:45:37.000000000 +0100 -+++ b/arch/arm/Kconfig 2009-01-28 15:30:22.000000000 +0100 -@@ -355,6 +355,7 @@ +--- a/arch/arm/Kconfig ++++ b/arch/arm/Kconfig +@@ -355,6 +355,7 @@ config ARCH_IXP4XX 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. -diff -ruN a/arch/arm/mach-ixp4xx/Kconfig b/arch/arm/mach-ixp4xx/Kconfig ---- a/arch/arm/mach-ixp4xx/Kconfig 2008-12-31 10:29:21.000000000 -0800 -+++ b/arch/arm/mach-ixp4xx/Kconfig 2009-01-16 15:17:54.000000000 -0800 -@@ -28,6 +28,7 @@ - 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, - -diff -ruN a/include/asm-arm/arch-ixp4xx/gpio.h b/include/asm-arm/arch-ixp4xx/gpio.h ---- a/arch/arm/mach-ixp4xx/include/mach/gpio.h 2008-10-08 20:24:05.000000000 -0700 -+++ b/arch/arm/mach-ixp4xx/include/mach/gpio.h 2009-01-16 20:55:25.000000000 -0800 +--- a/arch/arm/mach-ixp4xx/include/mach/gpio.h ++++ b/arch/arm/mach-ixp4xx/include/mach/gpio.h @@ -27,47 +27,31 @@ #include