summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/Makefile_32
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-12-25 10:17:34 +0100
committerPaul Mundt <lethal@linux-sh.org>2009-01-27 06:49:10 +0100
commit69edbba0021a48fe034849501513930f6175cb5d (patch)
tree51499128883b2e84bce5dcaa78e6e943c37eeb40 /arch/sh/kernel/Makefile_32
parentsh: lockless gpio_set_value() (diff)
downloadlinux-69edbba0021a48fe034849501513930f6175cb5d.tar.xz
linux-69edbba0021a48fe034849501513930f6175cb5d.zip
sh: use gpiolib
This patch updates the SuperH gpio code to make use of gpiolib. The gpiolib callbacks get() and set() are lockless, but we use our own spinlock for the other operations to make sure hardware register bitfield accesses stay atomic. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/Makefile_32')
-rw-r--r--arch/sh/kernel/Makefile_322
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/Makefile_32 b/arch/sh/kernel/Makefile_32
index 2e1b86e16ab5..7e7d22b5b4ca 100644
--- a/arch/sh/kernel/Makefile_32
+++ b/arch/sh/kernel/Makefile_32
@@ -27,7 +27,7 @@ obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o
obj-$(CONFIG_IO_TRAPPED) += io_trapped.o
obj-$(CONFIG_KPROBES) += kprobes.o
-obj-$(CONFIG_GENERIC_GPIO) += gpio.o
+obj-$(CONFIG_ARCH_REQUIRE_GPIOLIB) += gpio.o
obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
obj-$(CONFIG_DUMP_CODE) += disassemble.o