diff options
-rw-r--r-- | drivers/pinctrl/sprd/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/sprd/Kconfig b/drivers/pinctrl/sprd/Kconfig index d24ae0164528..bc7f3fab22f1 100644 --- a/drivers/pinctrl/sprd/Kconfig +++ b/drivers/pinctrl/sprd/Kconfig @@ -4,11 +4,12 @@ config PINCTRL_SPRD bool "Spreadtrum pinctrl driver" + depends on OF + depends on ARCH_SPRD || COMPILE_TEST select PINMUX select PINCONF select GENERIC_PINCONF select GENERIC_PINMUX_FUNCTIONS - depends on OF help Say Y here to enable Spreadtrum pinctrl driver |