<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>
This commit is contained in:
Ralf Baechle 2007-05-08 00:27:52 -07:00 committed by Linus Torvalds
parent 28287033e1
commit 3367b994fe
4 changed files with 5 additions and 3 deletions

View file

@ -22,6 +22,7 @@
#define _SYSDEV_H_
#include <linux/kobject.h>
#include <linux/module.h>
#include <linux/pm.h>