Skip to content

Commit bf0acc3

Browse files
Frank Haverkampgregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4de0ca8 commit bf0acc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/sysfs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#define _SYSFS_H_
1212

1313
#include <linux/compiler.h>
14+
#include <linux/list.h>
1415
#include <asm/atomic.h>
1516

1617
struct kobject;

0 commit comments

Comments
 (0)