From 8e393bfd48d7ab5a86a9631114678aa5e3e4c5e2 Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Tue, 9 Jan 2007 15:31:18 -0800 Subject: [PATCH] Make omap-ir build with workqueue changes Make omap-ir build with workqueue changes Signed-off-by: Andrzej Zaborowski Signed-off-by: Tony Lindgren --- drivers/net/irda/omap-ir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/irda/omap-ir.c b/drivers/net/irda/omap-ir.c index 562c8768a0b..85658dcddd8 100644 --- a/drivers/net/irda/omap-ir.c +++ b/drivers/net/irda/omap-ir.c @@ -54,6 +54,7 @@ #include #include #include +#include #include #include @@ -849,7 +850,7 @@ static int omap_irda_probe(struct platform_device *pdev) /* Any better way to avoid this? No. */ if (machine_is_omap_h3() || machine_is_omap_h4()) - INIT_WORK(&omap_ir->pdata->gpio_expa, NULL, NULL); + INIT_DELAYED_WORK(&omap_ir->pdata->gpio_expa, NULL); err = register_netdev(dev); if (!err) -- 2.41.1