[PATCH] rtc: fix compile failure in drivers/char/rtc.c

From: Xiaotian Feng
Date: Sun Oct 11 2009 - 23:01:40 EST


From: Xiaotian Feng <dfeng@xxxxxxxxxx>

commit d43c36d removed sched.h from interrupt.h, this causes compile
failure in drivers/char/rtc.c.

Reported-by: Pete Clements <clem@xxxxxxxxxxxxxxxxxxxxx>
Signed-of-by: Xiaotian Feng <xtfeng@xxxxxxxxx>
---
drivers/char/rtc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c
index e0d0f8b..1bce8fc 100644
--- a/drivers/char/rtc.c
+++ b/drivers/char/rtc.c
@@ -62,6 +62,7 @@
*/

#include <linux/interrupt.h>
+#include <linux/sched.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
--
1.6.2.5

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