Re: MTD_GPIO_ADDR compile error on current -git

From: Mike Frysinger
Date: Thu Sep 24 2009 - 01:02:29 EST


On Wed, Sep 23, 2009 at 23:30, Robert Hancock wrote:
> Just saw this compile error in current git:
>
> ÂCC [M] Âdrivers/mtd/maps/gpio-addr-flash.o
> In file included from /home/rob/linux-2.6/arch/x86/include/asm/gpio.h:20,
> Â Â Â Â Â Â Â Â from drivers/mtd/maps/gpio-addr-flash.c:27:
> include/asm-generic/gpio.h: In function âgpio_get_value_cansleepâ:
> include/asm-generic/gpio.h:170: error: implicit declaration of function
> âgpio_get_valueâ
> include/asm-generic/gpio.h: In function âgpio_set_value_cansleepâ:
> include/asm-generic/gpio.h:176: 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â
>
> I assume there's a missing dependency on GPIO or some such.. config is
> below.

i sent an updated patch to David already, but i need to send an
incremental patch
-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/