From: Komal Shah Subject: [PATCH] fix compile h3 Date: Sat, 14 Jan 2006 06:16:23 -0800 (PST) Message-ID: <20060114141623.41508.qmail@web32914.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1902445003-1137248183=:40321" Content-Transfer-Encoding: 8bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org --0-1902445003-1137248183=:40321 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline 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 Signed-off-by: Komal Shah 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 --0-1902445003-1137248183=:40321 Content-Type: text/plain; name="fixh3-linking.patch" Content-Description: 3029636071-fixh3-linking.patch Content-Disposition: inline; filename="fixh3-linking.patch" diff --git a/arch/arm/mach-omap1/Kconfig b/arch/arm/mach-omap1/Kconfig index f17b4ac..e89e4fd 100644 --- a/arch/arm/mach-omap1/Kconfig +++ b/arch/arm/mach-omap1/Kconfig @@ -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. diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index 826e741..60311d2 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c @@ -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; } --0-1902445003-1137248183=:40321 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --0-1902445003-1137248183=:40321--