diff options
author | David Howells <dhowells@redhat.com> | 2010-08-11 18:01:02 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-24 05:12:46 +0400 |
commit | 8488a38f4d2f43bd55a3e0db4cd57a5bef3af6d6 (patch) | |
tree | 104acb0de25090fa4982c24799c2d3d414b9b192 /include/linux/sysfs.h | |
parent | 9ee47476d6734c9deb9ae9ab05d963302f6b6150 (diff) | |
download | linux-8488a38f4d2f43bd55a3e0db4cd57a5bef3af6d6.tar.xz |
kobject: Break the kobject namespace defs into their own header
Break the kobject namespace defs into their own header to avoid a header file
inclusion ordering problem between linux/sysfs.h and linux/kobject.h.
This fixes the build breakage on older versions of gcc.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r-- | include/linux/sysfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 3c92121ba9af..96eb576d82fd 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -16,6 +16,7 @@ #include <linux/errno.h> #include <linux/list.h> #include <linux/lockdep.h> +#include <linux/kobject_ns.h> #include <asm/atomic.h> struct kobject; |