summaryrefslogtreecommitdiffstats
path: root/drivers/char/sonypi.c
diff options
context:
space:
mode:
authorIngo Molnar2009-10-12 16:22:46 +0200
committerLinus Torvalds2009-10-13 19:20:16 +0200
commit86ae13b006e48959981248493efd3ff4b2828b3d (patch)
treec823456de41e8488ac1aac9f4cf0a0a31b9495c9 /drivers/char/sonypi.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff)
downloadkernel-qcow2-linux-86ae13b006e48959981248493efd3ff4b2828b3d.tar.gz
kernel-qcow2-linux-86ae13b006e48959981248493efd3ff4b2828b3d.tar.xz
kernel-qcow2-linux-86ae13b006e48959981248493efd3ff4b2828b3d.zip
headers: Fix build after <linux/sched.h> removal
Commit d43c36dc6b357fa1806800f18aa30123c747a6d1 ("headers: remove sched.h from interrupt.h") left some build errors in some configurations due to drivers having depended on getting header files "accidentally". Signed-off-by: Ingo Molnar <mingo@elte.hu> [ Combined several one-liners from Ingo into one single patch - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/sonypi.c')
-rw-r--r--drivers/char/sonypi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index fd3dced97776..8c262aaf7c26 100644
--- a/drivers/char/sonypi.c
+++ b/drivers/char/sonypi.c
@@ -36,6 +36,7 @@
*/
#include <linux/module.h>
+#include <linux/sched.h>
#include <linux/input.h>
#include <linux/pci.h>
#include <linux/init.h>