summaryrefslogtreecommitdiff
path: root/include/linux/sysdev.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-05-08 11:27:52 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 22:15:05 +0400
commit3367b994fe4f131ab1240600682a1981de7cad0c (patch)
tree2afbec0bf8943d628c48dfb07883b7ce62a5c318 /include/linux/sysdev.h
parent28287033e12463c8ff89f1ea8038783d0360391c (diff)
downloadlinux-3367b994fe4f131ab1240600682a1981de7cad0c.tar.xz
<linux/sysdev.h> needs to include <linux/module.h>
sysdev.h uses THIS_MODULE so should include <linux/module.h>. [akpm@linux-foundation.org: couple of fixes] Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: Andi Kleen <ak@suse.de> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sysdev.h')
-rw-r--r--include/linux/sysdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sysdev.h b/include/linux/sysdev.h
index 389ccf858d37..e699ab279c2c 100644
--- a/include/linux/sysdev.h
+++ b/include/linux/sysdev.h
@@ -22,6 +22,7 @@
#define _SYSDEV_H_
#include <linux/kobject.h>
+#include <linux/module.h>
#include <linux/pm.h>