* [PATCH] Fix omap 1-wire driver compilation
@ 2010-03-22 12:40 Amit Kucheria
2010-04-01 10:38 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Amit Kucheria @ 2010-03-22 12:40 UTC (permalink / raw)
To: List Linux Omap
Patch from the Ubuntu omap tree[1] follows.
Regards,
Amit
[1].
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=shortlog;h=refs/heads/ti-omap
>From 2f101ae458745c1787869cf6907d459c3bc9425e Mon Sep 17 00:00:00 2001
Message-Id: <2f101ae458745c1787869cf6907d459c3bc9425e.1269261108.git.amit.kucheria@verdurent.com>
From: Amit Kucheria <amit.kucheria@canonical.com>
Date: Wed, 10 Mar 2010 14:10:54 +0200
Subject: [PATCH] UBUNTU: [Upstream] Fix omap 1-wire driver compilation
This fixes the following error message:
drivers/w1/masters/omap_hdq.c: In function 'hdq_wait_for_flag':
drivers/w1/masters/omap_hdq.c:137: error: implicit declaration of function
'schedule_timeout_uninterruptible'
drivers/w1/masters/omap_hdq.c: In function 'hdq_write_byte':
drivers/w1/masters/omap_hdq.c:177: error: 'TASK_UNINTERRUPTIBLE' undeclared
(first use in this function)
drivers/w1/masters/omap_hdq.c:177: error: (Each undeclared identifier is
reported only once
drivers/w1/masters/omap_hdq.c:177: error: for each function it appears in.)
drivers/w1/masters/omap_hdq.c:177: error: implicit declaration of function
'schedule_timeout'
drivers/w1/masters/omap_hdq.c: In function 'hdq_isr':
drivers/w1/masters/omap_hdq.c:221: error: 'TASK_NORMAL' undeclared (first use
in this function)
drivers/w1/masters/omap_hdq.c: In function 'omap_hdq_break':
drivers/w1/masters/omap_hdq.c:316: error: 'TASK_UNINTERRUPTIBLE' undeclared
(first use in this function)
Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
---
drivers/w1/masters/omap_hdq.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index 0d92969..2c2bd35 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -15,6 +15,7 @@
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
+#include <linux/sched.h>
#include <asm/irq.h>
#include <mach/hardware.h>
--
1.6.3.3
--
-------------------------------------------------------------------------
Amit Kucheria, Kernel Developer, Verdurent
-------------------------------------------------------------------------
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix omap 1-wire driver compilation
2010-03-22 12:40 [PATCH] Fix omap 1-wire driver compilation Amit Kucheria
@ 2010-04-01 10:38 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2010-04-01 10:38 UTC (permalink / raw)
To: List Linux Omap
Hi,
* Amit Kucheria <amit.kucheria@verdurent.com> [100322 05:37]:
> Patch from the Ubuntu omap tree[1] follows.
Thanks, can you please resend it to Evgeniy Polyakov <johnpol@2ka.mipt.ru>
for merging.
Acked-by: Tony Lindgren <tony@atomide.com>
> Regards,
> Amit
>
> [1].
> http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=shortlog;h=refs/heads/ti-omap
>
> From 2f101ae458745c1787869cf6907d459c3bc9425e Mon Sep 17 00:00:00 2001
> Message-Id: <2f101ae458745c1787869cf6907d459c3bc9425e.1269261108.git.amit.kucheria@verdurent.com>
> From: Amit Kucheria <amit.kucheria@canonical.com>
> Date: Wed, 10 Mar 2010 14:10:54 +0200
> Subject: [PATCH] UBUNTU: [Upstream] Fix omap 1-wire driver compilation
>
> This fixes the following error message:
>
> drivers/w1/masters/omap_hdq.c: In function 'hdq_wait_for_flag':
> drivers/w1/masters/omap_hdq.c:137: error: implicit declaration of function
> 'schedule_timeout_uninterruptible'
> drivers/w1/masters/omap_hdq.c: In function 'hdq_write_byte':
> drivers/w1/masters/omap_hdq.c:177: error: 'TASK_UNINTERRUPTIBLE' undeclared
> (first use in this function)
> drivers/w1/masters/omap_hdq.c:177: error: (Each undeclared identifier is
> reported only once
> drivers/w1/masters/omap_hdq.c:177: error: for each function it appears in.)
> drivers/w1/masters/omap_hdq.c:177: error: implicit declaration of function
> 'schedule_timeout'
> drivers/w1/masters/omap_hdq.c: In function 'hdq_isr':
> drivers/w1/masters/omap_hdq.c:221: error: 'TASK_NORMAL' undeclared (first use
> in this function)
> drivers/w1/masters/omap_hdq.c: In function 'omap_hdq_break':
> drivers/w1/masters/omap_hdq.c:316: error: 'TASK_UNINTERRUPTIBLE' undeclared
> (first use in this function)
>
> Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
> ---
> drivers/w1/masters/omap_hdq.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
> index 0d92969..2c2bd35 100644
> --- a/drivers/w1/masters/omap_hdq.c
> +++ b/drivers/w1/masters/omap_hdq.c
> @@ -15,6 +15,7 @@
> #include <linux/err.h>
> #include <linux/clk.h>
> #include <linux/io.h>
> +#include <linux/sched.h>
>
> #include <asm/irq.h>
> #include <mach/hardware.h>
> --
> 1.6.3.3
>
> --
> -------------------------------------------------------------------------
> Amit Kucheria, Kernel Developer, Verdurent
> -------------------------------------------------------------------------
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-01 10:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-22 12:40 [PATCH] Fix omap 1-wire driver compilation Amit Kucheria
2010-04-01 10:38 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox