瀏覽代碼

gpio: gpiolib-of: Allow compile testing

Lower dependencies for compile testing.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Alexander Stein 9 年之前
父節點
當前提交
1e4a806403
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gpio/Kconfig

+ 1 - 1
drivers/gpio/Kconfig

@@ -49,7 +49,7 @@ config GPIO_DEVRES
 
 config OF_GPIO
 	def_bool y
-	depends on OF
+	depends on OF || COMPILE_TEST
 
 config GPIO_ACPI
 	def_bool y