Procházet zdrojové kódy

mfd: ucb1400 needs GPIO

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>
Andrew Morton před 17 roky
rodič
revize
5a49a540df
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      drivers/mfd/Kconfig

+ 1 - 0
drivers/mfd/Kconfig

@@ -53,6 +53,7 @@ config HTC_PASIC3
 config UCB1400_CORE
 config UCB1400_CORE
 	tristate "Philips UCB1400 Core driver"
 	tristate "Philips UCB1400 Core driver"
 	depends on AC97_BUS
 	depends on AC97_BUS
+	depends on GPIOLIB
 	help
 	help
 	  This enables support for the Philips UCB1400 core functions.
 	  This enables support for the Philips UCB1400 core functions.
 	  The UCB1400 is an AC97 audio codec.
 	  The UCB1400 is an AC97 audio codec.