OMAP: Add OMAP_LDP platform support.
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
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 withomap_ldp_defconfigbut 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 inarch/arm/mach-omap2/board-ldp.cwhich caused an error "implicit declaration";
I replacedomap_set_gpio_direction(eth_gpio, 1)withgpio_direction_input(eth_gpio)but the same error appeared withdrivers/video/omap/lcd_ldp.cfor "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