summaryrefslogtreecommitdiffstats
path: root/drivers/sh/Makefile
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-11-27 07:38:01 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-11-30 12:02:53 +0900
commitfae4339919c741f89f7e293b8c646207e1df28e1 (patch)
treed115bc1d87f4d13972209350df2a5ab63e69cb5a /drivers/sh/Makefile
parentfc1d003de39c306a44abce97c346921de31277cd (diff)
downloadop-kernel-dev-fae4339919c741f89f7e293b8c646207e1df28e1.zip
op-kernel-dev-fae4339919c741f89f7e293b8c646207e1df28e1.tar.gz
sh: Break out SuperH PFC code
This file breaks out the SuperH PFC code from arch/sh/kernel/gpio.c + arch/sh/include/asm/gpio.h to drivers/sh/pfc.c + include/linux/sh_pfc.h. Similar to the INTC stuff. The non-SuperH specific file location makes it possible to share the code between multiple architectures. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/Makefile')
-rw-r--r--drivers/sh/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sh/Makefile b/drivers/sh/Makefile
index 6a025ce..4956bf1 100644
--- a/drivers/sh/Makefile
+++ b/drivers/sh/Makefile
@@ -3,4 +3,5 @@
#
obj-$(CONFIG_SUPERHYWAY) += superhyway/
obj-$(CONFIG_MAPLE) += maple/
+obj-$(CONFIG_GENERIC_GPIO) += pfc.o
obj-y += intc.o
OpenPOWER on IntegriCloud