From 8293b3c6dafd4d7440eb0ddda3092008e169bf8b Mon Sep 17 00:00:00 2001 From: Manivannan Sadhasivam Date: Thu, 25 Apr 2019 14:02:24 +0530 Subject: [PATCH] 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 Signed-off-by: Linus Walleij --- drivers/pinctrl/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.30.2