# \[patch 1/8\] drivers/input/touchscreen/ucb1400\_ts.c needs GPIO

- From: akpm@linux-foundation.org
- Date: 2008-12-01 22:21:21 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2008/12/8910468
- Thread: https://ratatoskr.run/linux-input/2008/12/8910468/t.md

```text
From: Andrew Morton <akpm@linux-foundation.org>

ia64 allmodconfig:

include/asm-generic/gpio.h: In function `gpio_get_value_cansleep':
include/asm-generic/gpio.h:147: error: implicit declaration of function `gpio_get_value'
include/asm-generic/gpio.h: In function `gpio_set_value_cansleep':
include/asm-generic/gpio.h:153: error: implicit declaration of function `gpio_set_value'

recent linux-next breakage.  Not sure what caused it..

Cc: Marek Vasut <redacted>
Cc: Russell King <redacted>
Cc: Vernon Sauder <redacted>
Cc: Nicolas Pitre <redacted>
Cc: Dmitry Torokhov <redacted>
Cc: David Brownell <redacted>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/input/touchscreen/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/input/touchscreen/Kconfig~drivers-input-touchscreen-ucb1400_tsc-needs-gpio drivers/input/touchscreen/Kconfig
--- a/drivers/input/touchscreen/Kconfig~drivers-input-touchscreen-ucb1400_tsc-needs-gpio
+++ a/drivers/input/touchscreen/Kconfig
@@ -238,6 +238,7 @@ config TOUCHSCREEN_UCB1400
 	tristate "Philips UCB1400 touchscreen"
 	depends on AC97_BUS
 	depends on UCB1400_CORE
+	depends on GPIOLIB
 	help
 	  This enables support for the Philips UCB1400 touchscreen interface.
 	  The UCB1400 is an AC97 audio codec.  The touchscreen interface
_
```
