SYSFS: Fix missing include of list.h in sysfs.h
authorFrank Haverkamp <haver@vnet.ibm.com>
Wed, 17 Jan 2007 16:51:18 +0000 (17:51 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:13 +0000 (10:37 -0800)
Sysfs.h uses definitions (e.g. struct list_head s_sibling) from list.h
but does not include it.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/sysfs.h

index 2129d1b..eee4859 100644 (file)
@@ -11,6 +11,7 @@
 #define _SYSFS_H_
 
 #include <linux/compiler.h>
+#include <linux/list.h>
 #include <asm/atomic.h>
 
 struct kobject;