diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-05-08 00:27:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:05 -0700 |
commit | 3367b994fe4f131ab1240600682a1981de7cad0c (patch) | |
tree | 2afbec0bf8943d628c48dfb07883b7ce62a5c318 /include/linux/sysdev.h | |
parent | 28287033e12463c8ff89f1ea8038783d0360391c (diff) | |
download | linux-3367b994fe4f131ab1240600682a1981de7cad0c.tar.gz linux-3367b994fe4f131ab1240600682a1981de7cad0c.tar.bz2 linux-3367b994fe4f131ab1240600682a1981de7cad0c.zip |
<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.h | 1 |
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> |