Coldfire generic GPIO (m68knommu)
RFC 2/14 Coldfire generic GPIO (m68knommu)
Signed-off-by Steven King <[email protected]>
arch/m68knommu/Kconfig +4 -0
@@ -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
(quoted diff) +0 -0
b/arch/m68knommu/platform/coldfire/Makefile
index 4f416a9..25de150 100644
arch/m68knommu/platform/coldfire/Makefile +1 -0
@@ -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