summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-sdk7786/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-14 03:04:44 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-10-14 03:04:44 +0900
commit47da88f36639b8de57f6cdd680f8c27528ccd67c (patch)
tree2c5cf30f6fb84366277fcbec57a0c8cc04f64282 /arch/sh/boards/mach-sdk7786/Makefile
parent550a1ef18a53cae3d908edceca9daaafbedcf12f (diff)
sh: mach-sdk7786: Add support for fpga gpios.
The sdk7786 FPGA supports a number of user settable input switches that are otherwise unused. This wires up a dummy gpio chip for the switch bank to simply expose them to userspace. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-sdk7786/Makefile')
-rw-r--r--arch/sh/boards/mach-sdk7786/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-sdk7786/Makefile b/arch/sh/boards/mach-sdk7786/Makefile
index a29f19e85b6..d0f801bd841 100644
--- a/arch/sh/boards/mach-sdk7786/Makefile
+++ b/arch/sh/boards/mach-sdk7786/Makefile
@@ -1 +1,3 @@
obj-y := setup.o fpga.o irq.o
+
+obj-$(CONFIG_GENERIC_GPIO) += gpio.o