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@xxxxxxxxxx) wrote:CC drivers/w1/masters/w1-gpio.oI believe w1-gpio it has to depend on generic gpio, Ville can you
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'
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.