浏览代码

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 年之前
父节点
当前提交
bf0acc3302
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;