fix compile h3
Subsystems (3)
PATCH 1/1 fix compile h3
Tony,
Patch fixes following error and selects the GPIOEXPANDER for H3 board.
arch/arm/mach-omap1/board-h3.c: In function `h3_transceiver_mode':arch/arm/mach-omap1/board-h3.c:253: error: incompatible type for argument 1 of cancel_delayed_work' arch/arm/mach-omap1/board-h3.c:254: error: invalid type argument of ->'arch/arm/mach-omap1/board-h3.c:254: error: invalid type argument of `->'arch/arm/mach-omap1/board-h3.c:255: error: incompatible type for argument 1 of `schedule_work'
make[1]: *** [arch/arm/mach-omap1/board-h3.o] Error 1
make: *** [arch/arm/mach-omap1] Error 2
Sorry for this mistake :(
---Komal Shah
http://komalshah.blogspot.com/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
arch/arm/mach-omap1/Kconfig +1 -0
@@ -36,6 +36,7 @@ config MACH_OMAP_H2 config MACH_OMAP_H3 bool "TI H3 Support" depends on ARCH_OMAP1 && ARCH_OMAP16XX + select GPIOEXPANDER_OMAP help TI OMAP 1710 H3 board support. Say Y here if you have such a board.
arch/arm/mach-omap1/board-h3.c +3 -3
@@ -250,9 +250,9 @@ static int h3_transceiver_mode(struct de {struct omap_irda_config *irda_config = dev->platform_data; -cancel_delayed_work (irda_config->gpio_expa); -PREPARE_WORK (irda_config->gpio_expa, set_trans_mode, &mode); -schedule_work (irda_config->gpio_expa); +cancel_delayed_work (&irda_config->gpio_expa); +PREPARE_WORK (&irda_config->gpio_expa, set_trans_mode, &mode); +schedule_work (&irda_config->gpio_expa);return 0 ; }
Tony Lindgren
reviewerQuoted 20 lines · Komal Shah
Tony,
Patch fixes following error and selects the GPIOEXPANDER for H3 board.
arch/arm/mach-omap1/board-h3.c: In function `h3_transceiver_mode':arch/arm/mach-omap1/board-h3.c:253: error: incompatible type for argument 1 ofcancel_delayed_work' arch/arm/mach-omap1/board-h3.c:254: error: invalid type argument of->'arch/arm/mach-omap1/board-h3.c:254: error: invalid type argument of `->'arch/arm/mach-omap1/board-h3.c:255: error: incompatible type for argument 1 of `schedule_work'
make[1]: *** [arch/arm/mach-omap1/board-h3.o] Error 1
make: *** [arch/arm/mach-omap1] Error 2Signed-off-by Komal Shah <[email protected]>Sorry for this mistake :(
Quoted 7 lines
---Komal Shah
http://komalshah.blogspot.com/__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Content-Description: 3029636071-fixh3-linking.patch
Quoted 19 lines
arch/arm/mach-omap1/Kconfig +1
-0@@ -36,6 +36,7 @@ config MACH_OMAP_H2 config MACH_OMAP_H3 bool "TI H3 Support" depends on ARCH_OMAP1 && ARCH_OMAP16XX + select GPIOEXPANDER_OMAP help TI OMAP 1710 H3 board support. Say Y here if you have such a board.arch/arm/mach-omap1/board-h3.c +0
-0@@ -250,9 +250,9 @@ static int h3_transceiver_mode(struct de {struct omap_irda_config *irda_config = dev->platform_data;
arch/arm/mach-omap1/board-h3.c static int h3_transceiver_mode(struct de · line 258
Quoted 10 lines
arch/arm/mach-omap1/board-h3.c +3
-3-cancel_delayed_work (irda_config->gpio_expa); -PREPARE_WORK (irda_config->gpio_expa, set_trans_mode, &mode); -schedule_work (irda_config->gpio_expa); +cancel_delayed_work (&irda_config->gpio_expa); +PREPARE_WORK (&irda_config->gpio_expa, set_trans_mode, &mode); +schedule_work (&irda_config->gpio_expa);return 0 ; }
Thanks, pushing this today.
Tony