[RFC 02/14] Coldfire generic GPIO (m68knommu)

From: Steven King
Date: Wed Mar 11 2009 - 17:58:42 EST


Signed-off-by: Steven King <sfking@xxxxxxxxx>

diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig
index 4beb59d..0eb0302 100644
--- a/arch/m68knommu/Kconfig
+++ b/arch/m68knommu/Kconfig
@@ -46,6 +46,10 @@ config GENERIC_FIND_NEXT_BIT
bool
default y

+config GENERIC_GPIO
+ bool
+ default n
+
config GENERIC_HWEIGHT
bool
default y
@@ -181,6 +185,8 @@ config M527x
config COLDFIRE
bool
depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 ||
M528x || M5307 || M532x || M5407)
+ select GENERIC_GPIO
+ select ARCH_REQUIRE_GPIOLIB
default y

config CLOCK_SET
diff --git a/arch/m68knommu/platform/coldfire/Makefile
b/arch/m68knommu/platform/coldfire/Makefile
index 4f416a9..25de150 100644
--- a/arch/m68knommu/platform/coldfire/Makefile
+++ b/arch/m68knommu/platform/coldfire/Makefile
@@ -27,4 +27,5 @@ obj-$(CONFIG_M5307) += timers.o
obj-$(CONFIG_M532x) += timers.o
obj-$(CONFIG_M5407) += timers.o

+obj-y += pinmux.o gpio.o
extra-y := head.o

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/