summaryrefslogtreecommitdiff
path: root/drivers/sh/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-06-20 18:17:56 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-06-20 18:17:56 +0900
commitb16b2a262c234d6abd8899d41769278337fff5b5 (patch)
treeec268b1e2a2c2068dea7af6dd755172e4653ff4a /drivers/sh/Makefile
parentb3c185a7614cd95ea9b68d89a8d1ee4227ee9018 (diff)
sh: pfc: Make gpio chip support optional where possible.
This implements some Kconfig knobs for ensuring that the PFC gpio chip can be disabled or built as a module in the cases where it's optional, or forcibly enabled in cases where it's not. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/Makefile')
-rw-r--r--drivers/sh/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/sh/Makefile b/drivers/sh/Makefile
index be5b2934f067..f5d93e8de090 100644
--- a/drivers/sh/Makefile
+++ b/drivers/sh/Makefile
@@ -6,5 +6,6 @@ obj-y := intc/
obj-$(CONFIG_HAVE_CLK) += clk/
obj-$(CONFIG_MAPLE) += maple/
obj-$(CONFIG_SUPERHYWAY) += superhyway/
-obj-$(CONFIG_GENERIC_GPIO) += pfc.o pfc-gpio.o
+obj-$(CONFIG_SH_PFC) += pfc.o
+obj-$(CONFIG_GPIO_SH_PFC) += pfc-gpio.o
obj-y += pm_runtime.o