From: "Andrzej Zaborowski" <balrog@zabor.org>
To: Linux-OMAP <linux-omap-open-source@linux.omap.com>
Subject: [PATCH] Make omap-ir build with workqueue changes.
Date: Thu, 4 Jan 2007 22:38:22 +0100 [thread overview]
Message-ID: <1167946702756-git-send-email-balrog@zabor.org> (raw)
Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
---
drivers/net/irda/omap-ir.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/irda/omap-ir.c b/drivers/net/irda/omap-ir.c
index 562c876..85658dc 100644
--- a/drivers/net/irda/omap-ir.c
+++ b/drivers/net/irda/omap-ir.c
@@ -54,6 +54,7 @@ #include <linux/ioport.h>
#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>
@@ -849,7 +850,7 @@ static int omap_irda_probe(struct platfo
/* 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)
--
1.4.3.2
next reply other threads:[~2007-01-04 21:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 21:38 Andrzej Zaborowski [this message]
2007-01-09 23:31 ` [PATCH] Make omap-ir build with workqueue changes Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1167946702756-git-send-email-balrog@zabor.org \
--to=balrog@zabor.org \
--cc=balrogg@gmail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox