build issue #29 for v2.6.32-rc4-149-ga3ccf63 :gpio.h:171: error: implicit declaration of function 'gpio_get_value'

Mike Frysinger vapier.adi at gmail.com
Thu Oct 15 13:00:54 EDT 2009


2009/10/15 Toralf Förster <toralf.foerster at gmx.de>:
> Hello,
>
> the build (.config attached) failed, make ends with :
> ...
>  CC      drivers/mtd/maps/gpio-addr-flash.o
> In file included from /home/tfoerste/devel/linux-2.6/arch/x86/include/asm/gpio.h:19,
>                 from drivers/mtd/maps/gpio-addr-flash.c:26:
> include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
> include/asm-generic/gpio.h:171: error: implicit declaration of function 'gpio_get_value'
> include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
> include/asm-generic/gpio.h:177: error: implicit declaration of function 'gpio_set_value'
> drivers/mtd/maps/gpio-addr-flash.c: In function 'gpio_flash_probe':
> drivers/mtd/maps/gpio-addr-flash.c:232: error: implicit declaration of function 'gpio_request'
> drivers/mtd/maps/gpio-addr-flash.c:236: error: implicit declaration of function 'gpio_free'
> drivers/mtd/maps/gpio-addr-flash.c:240: error: implicit declaration of function 'gpio_direction_output'
> make[3]: *** [drivers/mtd/maps/gpio-addr-flash.o] Error 1
> make[2]: *** [drivers/mtd/maps] Error 2
> make[1]: *** [drivers/mtd] Error 2
> make: *** [drivers] Error 2
>
> The build was made with :
> $>make randconfig; make clean; make
>
> Here's the config:

patches for this have been posted already, but no one has merged them.
 search recent lkml please.
-mike



More information about the linux-mtd mailing list