Skip to content

Commit

Permalink
SYSFS: Fix missing include of list.h in sysfs.h
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Frank Haverkamp authored and gregkh committed Feb 7, 2007
1 parent 4de0ca8 commit bf0acc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define _SYSFS_H_

#include <linux/compiler.h>
#include <linux/list.h>
#include <asm/atomic.h>

struct kobject;
Expand Down

0 comments on commit bf0acc3

Please sign in to comment.