瀏覽代碼

pinctrl: berlin: Make berlin pinctrl driver visible if COMPILE_TEST=y

It is good to allow berlin pinctrl driver to build with COMPILE_TEST, so
make the it menu visible when compile-testing.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Jisheng Zhang 10 年之前
父節點
當前提交
2df26ef7da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/pinctrl/berlin/Kconfig

+ 1 - 1
drivers/pinctrl/berlin/Kconfig

@@ -1,4 +1,4 @@
-if ARCH_BERLIN
+if (ARCH_BERLIN || COMPILE_TEST)
 
 
 config PINCTRL_BERLIN
 config PINCTRL_BERLIN
 	bool
 	bool