Skip to contentSkip to conversation

OMAP: Add OMAP_LDP platform support.

PATCH Sam Duan 2 participants 2 messages Dec 4, 2008

lore
Share & tools
lore

Sam Duan

author
#0 lore raw

Hi Stanley,

I git clone the tree(http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.gi
t)
and configured the kernel with omap_ldp_defconfig but met some compile errors.
It seems like the line "gpio_direction_input(eth_gpio) " was not patched in. It's "omap_set_gpio_direction(eth_gpio, 1)" at Line343 in arch/arm/mach-omap2/board-ldp.c which caused an error "implicit declaration";
I replaced omap_set_gpio_direction(eth_gpio, 1) with gpio_direction_input(eth_gpio) but the same error appeared with drivers/video/omap/lcd_ldp.c for "omap_set_gpio_direction" and "omap_set_gpio_dataout".

Did I miss some other patches? Are there any patchs can make the kernel compiled with omap_ldp_defconfig?
Thanks
Sam

#1 lore raw

The first patch(PATCHv2 1/3) in this thread have fixed this problem. It has not been pushed in.

Stanley.

Quoted 21 lines · Sam Duan

Hi Stanley,

I git clone the tree(http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.gi
t)
and configured the kernel with omap_ldp_defconfig but met some compile errors.
It seems like the line "gpio_direction_input(eth_gpio) " was not patched in. It's "omap_set_gpio_direction(eth_gpio, 1)" at Line343 in arch/arm/mach-omap2/board-ldp.c which caused an error "implicit declaration";
I replaced omap_set_gpio_direction(eth_gpio, 1) with gpio_direction_input(eth_gpio) but the same error appeared with drivers/video/omap/lcd_ldp.c for "omap_set_gpio_direction" and "omap_set_gpio_dataout".

Did I miss some other patches? Are there any patchs can make the kernel compiled with omap_ldp_defconfig?
Thanks
Sam