Patchwork rtc imxdi: add missing include

login
register
mail settings
Submitter Sascha Hauer
Date Aug. 24, 2011, 7:58 a.m.
Message ID <1314172701-10242-1-git-send-email-s.hauer@pengutronix.de>
Download mbox | patch
Permalink /patch/111268/
State New
Headers show

Comments

Sascha Hauer - Aug. 24, 2011, 7:58 a.m.
We need linux/sched.h for TASK_INTERRUPTIBLE, signal_pending and
schedule_timeout.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: rtc-linux@googlegroups.com
---
 drivers/rtc/rtc-imxdi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c
index 2dd3c01..5d3e963 100644
--- a/drivers/rtc/rtc-imxdi.c
+++ b/drivers/rtc/rtc-imxdi.c
@@ -32,6 +32,7 @@ 
 #include <linux/io.h>
 #include <linux/clk.h>
 #include <linux/delay.h>
+#include <linux/sched.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/rtc.h>