summaryrefslogtreecommitdiffstats
path: root/include/linux/sysdev.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-05-08 00:27:52 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 11:15:05 -0700
commit3367b994fe4f131ab1240600682a1981de7cad0c (patch)
tree2afbec0bf8943d628c48dfb07883b7ce62a5c318 /include/linux/sysdev.h
parent28287033e12463c8ff89f1ea8038783d0360391c (diff)
downloadop-kernel-dev-3367b994fe4f131ab1240600682a1981de7cad0c.zip
op-kernel-dev-3367b994fe4f131ab1240600682a1981de7cad0c.tar.gz
<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 389ccf8..e699ab2 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>
OpenPOWER on IntegriCloud