summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sprd/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang7@gmail.com>2020-02-27 07:13:47 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-02-29 02:26:09 +0300
commit1df49cc80da167f3fa91e3a47c3c1aabd4a3953c (patch)
tree4b655cd0e9fe9419e52309461195fcc20aff1333 /drivers/pinctrl/sprd/Kconfig
parentb88d145191ad02b865c601ff87c2c685ca11a20a (diff)
downloadlinux-1df49cc80da167f3fa91e3a47c3c1aabd4a3953c.tar.xz
pinctrl: sprd: Allow the SPRD pinctrl driver building into a module
Change the config to 'tristate' and export some symbols needed by modules to allow the Spreadtrum pinctrl driver building into a module. Signed-off-by: Baolin Wang <baolin.wang7@gmail.com> Link: https://lore.kernel.org/r/d7239f3c7379e402f665fc8927f635ac56691380.1582776447.git.baolin.wang7@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sprd/Kconfig')
-rw-r--r--drivers/pinctrl/sprd/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/sprd/Kconfig b/drivers/pinctrl/sprd/Kconfig
index b6c5479b58fb..c9e7f0bb1145 100644
--- a/drivers/pinctrl/sprd/Kconfig
+++ b/drivers/pinctrl/sprd/Kconfig
@@ -4,7 +4,7 @@
#
config PINCTRL_SPRD
- bool "Spreadtrum pinctrl driver"
+ tristate "Spreadtrum pinctrl driver"
depends on OF
depends on ARCH_SPRD || COMPILE_TEST
select PINMUX
@@ -15,7 +15,7 @@ config PINCTRL_SPRD
Say Y here to enable Spreadtrum pinctrl driver
config PINCTRL_SPRD_SC9860
- bool "Spreadtrum SC9860 pinctrl driver"
- depends on PINCTRL_SPRD
+ tristate "Spreadtrum SC9860 pinctrl driver"
+ select PINCTRL_SPRD
help
Say Y here to enable Spreadtrum SC9860 pinctrl driver