* [PATCH] Make omap-ir build with workqueue changes.
@ 2007-01-04 21:38 Andrzej Zaborowski
2007-01-09 23:31 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Zaborowski @ 2007-01-04 21:38 UTC (permalink / raw)
To: Linux-OMAP
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Make omap-ir build with workqueue changes.
2007-01-04 21:38 [PATCH] Make omap-ir build with workqueue changes Andrzej Zaborowski
@ 2007-01-09 23:31 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-01-09 23:31 UTC (permalink / raw)
To: balrogg; +Cc: Linux-OMAP
* Andrzej Zaborowski <balrog@zabor.org> [070104 12:39]:
> 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)
Pushing today.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-09 23:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-04 21:38 [PATCH] Make omap-ir build with workqueue changes Andrzej Zaborowski
2007-01-09 23:31 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox