From 1e4a80640338924b9f9fd7a121ac31d08134410a Mon Sep 17 00:00:00 2001
From: Alexander Stein <alexanders83@web.de>
Date: Wed, 24 Feb 2016 22:05:19 +0100
Subject: [PATCH] gpio: gpiolib-of: Allow compile testing

Lower dependencies for compile testing.

Signed-off-by: Alexander Stein <alexanders83@web.de>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 37f03786b0e6b..9776ea547a4d7 100644
--- a/drivers/gpio/Kconfig
+++ b/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
-- 
GitLab