Messages in this thread | | | Date | Sat, 5 Jan 2008 18:16:57 +0200 | From | Ville Syrjälä <> | Subject | Re: 2.6.24-rc6-mm1 (build problem: gpio/W1) |
| |
On Sat, Jan 05, 2008 at 06:29:04PM +0300, Evgeniy Polyakov wrote: > Hi Randy. > > Sorry for long delay. > > On Mon, Dec 31, 2007 at 10:19:20AM -0800, Randy Dunlap (randy.dunlap@oracle.com) wrote: > > CC drivers/w1/masters/w1-gpio.o > > In file included from /local/linsrc/linux-2.6.24-rc6-mm1/drivers/w1/masters/w1-gpio.c:19: > > include2/asm/gpio.h:4:18: error: gpio.h: No such file or directory > > /local/linsrc/linux-2.6.24-rc6-mm1/drivers/w1/masters/w1-gpio.c: In function 'w1_gpio_write_bit_dir': > > /local/linsrc/linux-2.6.24-rc6-mm1/drivers/w1/masters/w1-gpio.c:26: error: implicit declaration of function 'gpio_direction_input' > > /local/linsrc/linux-2.6.24-rc6-mm1/drivers/w1/masters/w1-gpio.c:28: error: implicit declaration of function 'gpio_direction_output' > > I believe w1-gpio it has to depend on generic gpio, Ville can you > confirm that?
The dependency is there:
config W1_MASTER_GPIO tristate "GPIO 1-wire busmaster" depends on GENERIC_GPIO
So it looks like the arch Kconfig has selected GENERIC_GPIO but failed to provide the implementation.
-- Ville Syrjälä syrjala@sci.fi http://www.sci.fi/~syrjala/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |