Skip to content

Commit

Permalink
pinctrl: Rework Kconfig dependency for BM1880 pinctrl driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manivannan Sadhasivam authored and Linus Walleij committed May 3, 2019
1 parent c29ad34 commit 8293b3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/pinctrl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8293b3c

Please sign in to comment.