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>
This commit is contained in:
Manivannan Sadhasivam 2019-04-25 14:02:24 +05:30 committed by Linus Walleij
parent c29ad34536
commit 8293b3c6da

View File

@ -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.