mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Drivers: w1: omap_hdq: Fix missing include sched.h
@ 2010-04-19 16:10 Thomas Weber
  0 siblings, 0 replies; only message in thread
From: Thomas Weber @ 2010-04-19 16:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: Thomas Weber, linux-omap, johnpol

In commit f6a570333e554b48ad589e7137c77c57809eee81 #include <sched.h> was
removed from module.h and not added in omap_hdq.c .

The definition for TASK_UNINTERRUPTIBLE and
schedule_timeout_uninterruptible are missing.
This patch fixes the missing definition.

Signed-off-by: Thomas Weber <weber@corscience.de>
---

 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 ef36fca..3a7e9ff 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -16,6 +16,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.4.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-19 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-19 16:10 [PATCH] Drivers: w1: omap_hdq: Fix missing include sched.h Thomas Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®