From: Komal Shah Date: Mon, 16 Jan 2006 18:40:20 +0000 (-0800) Subject: (no commit message) X-Git-Tag: v2.6.15-omap2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fb60ce8245309e1e8c1bb5f1bcded31bcb08c70e;p=linux-2.6-omap-h63xx.git --- diff --git a/arch/arm/mach-omap1/Kconfig b/arch/arm/mach-omap1/Kconfig index f17b4ac0c64..e89e4fd6c51 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 826e7417705..60311d2ecba 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 device *dev, int mode) { 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; }