summaryrefslogtreecommitdiff
path: root/arch/sh/boards/mach-sdk7786/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-13 22:04:44 +0400
committerPaul Mundt <lethal@linux-sh.org>2010-10-13 22:04:44 +0400
commit47da88f36639b8de57f6cdd680f8c27528ccd67c (patch)
tree2c5cf30f6fb84366277fcbec57a0c8cc04f64282 /arch/sh/boards/mach-sdk7786/Makefile
parent550a1ef18a53cae3d908edceca9daaafbedcf12f (diff)
downloadlinux-47da88f36639b8de57f6cdd680f8c27528ccd67c.tar.xz
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 a29f19e85b63..d0f801bd8416 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