Make omap-ir build with workqueue changes
Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
+#include <linux/workqueue.h>
#include <net/irda/irda.h>
#include <net/irda/irmod.h>
/* 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)