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

From: Mike Frysinger
Date: Thu Oct 15 2009 - 13:02:41 EST


2009/10/15 Toralf FÃrster <toralf.foerster@xxxxxx>:
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/