From 64a47c5072a6d702349dba30ea8b0e69be4d9778 Mon Sep 17 00:00:00 2001
From: Michael Hennerich <michael.hennerich@analog.com>
Date: Thu, 12 May 2011 15:38:24 +0200
Subject: [PATCH] iio: adc: ad7780: Add missing GPIOLIB dependency

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index 41593890ce88..0a19cee97b41 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -145,6 +145,7 @@ config AD7887
 config AD7780
 	tristate "Analog Devices AD7780 AD7781 ADC driver"
 	depends on SPI
+	depends on GPIOLIB
 	help
 	  Say yes here to build support for Analog Devices
 	  AD7780 and AD7781 SPI analog to digital convertors (ADC).
-- 
GitLab