diff options
-rw-r--r-- | drivers/sh/Kconfig | 15 | ||||
-rw-r--r-- | drivers/sh/Makefile | 3 |
2 files changed, 17 insertions, 1 deletions
diff --git a/drivers/sh/Kconfig b/drivers/sh/Kconfig index f168a6159961..d7dbfee1bc70 100644 --- a/drivers/sh/Kconfig +++ b/drivers/sh/Kconfig | |||
@@ -2,4 +2,19 @@ menu "SuperH / SH-Mobile Driver Options" | |||
2 | 2 | ||
3 | source "drivers/sh/intc/Kconfig" | 3 | source "drivers/sh/intc/Kconfig" |
4 | 4 | ||
5 | comment "Pin function controller options" | ||
6 | |||
7 | config SH_PFC | ||
8 | # XXX move off the gpio dependency | ||
9 | depends on GENERIC_GPIO | ||
10 | select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB | ||
11 | def_bool y | ||
12 | |||
13 | config GPIO_SH_PFC | ||
14 | tristate "SuperH PFC GPIO support" | ||
15 | depends on SH_PFC && GPIOLIB | ||
16 | help | ||
17 | This enables support for GPIOs within the SoC's pin function | ||
18 | controller. | ||
19 | |||
5 | endmenu | 20 | endmenu |
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/ | |||
6 | obj-$(CONFIG_HAVE_CLK) += clk/ | 6 | obj-$(CONFIG_HAVE_CLK) += clk/ |
7 | obj-$(CONFIG_MAPLE) += maple/ | 7 | obj-$(CONFIG_MAPLE) += maple/ |
8 | obj-$(CONFIG_SUPERHYWAY) += superhyway/ | 8 | obj-$(CONFIG_SUPERHYWAY) += superhyway/ |
9 | obj-$(CONFIG_GENERIC_GPIO) += pfc.o pfc-gpio.o | 9 | obj-$(CONFIG_SH_PFC) += pfc.o |
10 | obj-$(CONFIG_GPIO_SH_PFC) += pfc-gpio.o | ||
10 | obj-y += pm_runtime.o | 11 | obj-y += pm_runtime.o |