Documentation: Fix "struct kobj_type" to include newer members.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 28 Aug 2012 16:45:41 +0000 (12:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 23:06:34 +0000 (16:06 -0700)
kobj_type replaced by verbatim copy-and-paste from kobject.h.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/kobject.txt

index 49578cf1aea5c34f9172db17e43bfa24a099b650..c5182bb2c16c3c2142db906e11cfc604a290f564 100644 (file)
@@ -284,9 +284,11 @@ instead, it is associated with the ktype. So let us introduce struct
 kobj_type:
 
     struct kobj_type {
-           void (*release)(struct kobject *);
+           void (*release)(struct kobject *kobj);
            const struct sysfs_ops *sysfs_ops;
-           struct attribute    **default_attrs;
+           struct attribute **default_attrs;
+           const struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *kobj);
+           const void *(*namespace)(struct kobject *kobj);
     };
 
 This structure is used to describe a particular type of kobject (or, more