aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 3950d3c2850..7950a37a714 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -22,6 +22,7 @@
22#include <linux/compiler.h> 22#include <linux/compiler.h>
23#include <linux/spinlock.h> 23#include <linux/spinlock.h>
24#include <linux/kref.h> 24#include <linux/kref.h>
25#include <linux/kobject_ns.h>
25#include <linux/kernel.h> 26#include <linux/kernel.h>
26#include <linux/wait.h> 27#include <linux/wait.h>
27#include <asm/atomic.h> 28#include <asm/atomic.h>
@@ -108,6 +109,8 @@ struct kobj_type {
108 void (*release)(struct kobject *kobj); 109 void (*release)(struct kobject *kobj);
109 const struct sysfs_ops *sysfs_ops; 110 const struct sysfs_ops *sysfs_ops;
110 struct attribute **default_attrs; 111 struct attribute **default_attrs;
112 const struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *kobj);
113 const void *(*namespace)(struct kobject *kobj);
111}; 114};
112 115
113struct kobj_uevent_env { 116struct kobj_uevent_env {
@@ -134,6 +137,8 @@ struct kobj_attribute {
134 137
135extern const struct sysfs_ops kobj_sysfs_ops; 138extern const struct sysfs_ops kobj_sysfs_ops;
136 139
140struct sock;
141
137/** 142/**
138 * struct kset - a set of kobjects of a specific type, belonging to a specific subsystem. 143 * struct kset - a set of kobjects of a specific type, belonging to a specific subsystem.
139 * 144 *