Browse Source

SYSFS: Fix missing include of list.h in sysfs.h

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>
Frank Haverkamp 18 years ago
parent
commit
bf0acc3302
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/linux/sysfs.h

+ 1 - 0
include/linux/sysfs.h

@@ -11,6 +11,7 @@
 #define _SYSFS_H_
 
 #include <linux/compiler.h>
+#include <linux/list.h>
 #include <asm/atomic.h>
 
 struct kobject;