2009-10-12 03:01:25

by Xiaotian Feng

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

From: Xiaotian Feng <[email protected]>

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

Reported-by: Pete Clements <[email protected]>
Signed-of-by: Xiaotian Feng <[email protected]>
---
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