[tip:core/header-fixes] headers: Fix build in drivers/char/rtc.c

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

 



Commit-ID:  5b5d2573ab152ff967ac2942638bf777cecf1ce7
Gitweb:     http://git.kernel.org/tip/5b5d2573ab152ff967ac2942638bf777cecf1ce7
Author:     Ingo Molnar <mingo@xxxxxxx>
AuthorDate: Mon, 12 Oct 2009 10:31:08 +0200
Committer:  Ingo Molnar <mingo@xxxxxxx>
CommitDate: Tue, 13 Oct 2009 08:00:45 +0200

headers: Fix build in drivers/char/rtc.c

Fix:

  drivers/char/rtc.c: In function 'rtc_interrupt':
  drivers/char/rtc.c:271: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
  drivers/char/rtc.c:271: error: (Each undeclared identifier is reported only once)

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
 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..bc4ab3e 100644
--- a/drivers/char/rtc.c
+++ b/drivers/char/rtc.c
@@ -74,6 +74,7 @@
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include <linux/spinlock.h>
+#include <linux/sched.h>
 #include <linux/sysctl.h>
 #include <linux/wait.h>
 #include <linux/bcd.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux