瀏覽代碼

gpio: clps711x: Enable driver compilation with COMPILE_TEST

This helps increasing build testing coverage.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Alexander Shiyan 11 年之前
父節點
當前提交
ffd4bf1a9e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gpio/Kconfig

+ 1 - 1
drivers/gpio/Kconfig

@@ -110,7 +110,7 @@ comment "Memory mapped GPIO drivers:"
 
 
 config GPIO_CLPS711X
 config GPIO_CLPS711X
 	tristate "CLPS711X GPIO support"
 	tristate "CLPS711X GPIO support"
-	depends on ARCH_CLPS711X
+	depends on ARCH_CLPS711X || COMPILE_TEST
 	select GPIO_GENERIC
 	select GPIO_GENERIC
 	help
 	help
 	  Say yes here to support GPIO on CLPS711X SoCs.
 	  Say yes here to support GPIO on CLPS711X SoCs.