From fb60ce8245309e1e8c1bb5f1bcded31bcb08c70e Mon Sep 17 00:00:00 2001 From: Komal Shah Date: Mon, 16 Jan 2006 10:40:20 -0800 Subject: [PATCH] --- arch/arm/mach-omap1/Kconfig | 1 + arch/arm/mach-omap1/board-h3.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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; } -- 2.41.1