Commit baec7e68 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Walleij

pinctrl: sprd: Restrict PINCTRL_SPRD to ARCH_SPRD or COMPILE_TEST

The Spreadtrum pinctrl drivers are only useful when building for a
Spreadtrum platform.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent aaab90bb
...@@ -4,11 +4,12 @@ ...@@ -4,11 +4,12 @@
config PINCTRL_SPRD config PINCTRL_SPRD
bool "Spreadtrum pinctrl driver" bool "Spreadtrum pinctrl driver"
depends on OF
depends on ARCH_SPRD || COMPILE_TEST
select PINMUX select PINMUX
select PINCONF select PINCONF
select GENERIC_PINCONF select GENERIC_PINCONF
select GENERIC_PINMUX_FUNCTIONS select GENERIC_PINMUX_FUNCTIONS
depends on OF
help help
Say Y here to enable Spreadtrum pinctrl driver Say Y here to enable Spreadtrum pinctrl driver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment