diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2019-04-25 11:32:24 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-05-03 09:53:13 +0300 |
commit | 8293b3c6dafd4d7440eb0ddda3092008e169bf8b (patch) | |
tree | 4d866820b77c707d807d873af281b9ed7acce070 /drivers/pinctrl | |
parent | c29ad3453648a7116036f666a09e06c2d10f629f (diff) | |
download | linux-8293b3c6dafd4d7440eb0ddda3092008e169bf8b.tar.xz |
pinctrl: Rework Kconfig dependency for BM1880 pinctrl driver
Make the BM1880 SoC pinctrl driver depend on COMPILE_TEST to get compiler
test coverage and also select this driver by default for ARCH_BITMAIN
platform.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index c4ac4bf1e1e4..19d8af9a36a2 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -110,7 +110,8 @@ config PINCTRL_AMD config PINCTRL_BM1880 bool "Bitmain BM1880 Pinctrl driver" - depends on ARCH_BITMAIN + depends on OF && (ARCH_BITMAIN || COMPILE_TEST) + default ARCH_BITMAIN select PINMUX help Pinctrl driver for Bitmain BM1880 SoC. |