[PATCH] Drivers: w1: omap_hdq: Fix missing include sched.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
---

 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

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux