Skip to contentSkip to conversation

Drivers: w1: omap_hdq: Fix missing include sched.h

PATCH New Thomas Weber 1 participant 1 message Apr 19, 2010 W1 dallas's 1-wire bus

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drivers: w1: omap_hdq: Fix missing include sched.h

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.

---

 drivers/w1/masters/omap_hdq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/w1/masters/omap_hdq.c +1 -0
index ef36fca..3a7e9ff 100644
@@ -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>
Signature · 1 line
1.6.4.4