mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xiaotian Feng <xtfeng@gmail.com>
To: clem@clem.clem-digital.net, akpm@linux-foundation.org,
	dbrownell@users.sourceforge.net, a.zummo@towertech.it,
	viro@zeniv.linux.org.uk
Cc: linux-kernel@vger.kernel.org, Xiaotian Feng <dfeng@redhat.com>
Subject: [PATCH] rtc: fix compile failure in drivers/char/rtc.c
Date: Mon, 12 Oct 2009 11:00:54 +0800	[thread overview]
Message-ID: <1255316454-26447-1-git-send-email-xtfeng@gmail.com> (raw)

From: Xiaotian Feng <dfeng@redhat.com>

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

Reported-by: Pete Clements <clem@clem.clem-digital.net>
Signed-of-by: Xiaotian Feng <xtfeng@gmail.com>
---
 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


                 reply	other threads:[~2009-10-12  3:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1255316454-26447-1-git-send-email-xtfeng@gmail.com \
    --to=xtfeng@gmail.com \
    --cc=a.zummo@towertech.it \
    --cc=akpm@linux-foundation.org \
    --cc=clem@clem.clem-digital.net \
    --cc=dbrownell@users.sourceforge.net \
    --cc=dfeng@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®