mfd: ucb1400 needs GPIO
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 15 Oct 2008 11:30:47 +0000 (13:30 +0200)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 19 Oct 2008 20:54:13 +0000 (22:54 +0200)
ia64 allmodconfig:

In file included from include/linux/ucb1400.h:27,
                 from drivers/mfd/ucb1400_core.c:24:
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'
drivers/mfd/ucb1400_core.c: At top level:

Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/mfd/Kconfig

index 57d972f..5a79d2d 100644 (file)
@@ -53,6 +53,7 @@ config HTC_PASIC3
 config UCB1400_CORE
        tristate "Philips UCB1400 Core driver"
        depends on AC97_BUS
+       depends on GPIOLIB
        help
          This enables support for the Philips UCB1400 core functions.
          The UCB1400 is an AC97 audio codec.