From: Robert P. J. Day Date: Tue, 28 Aug 2012 16:45:41 +0000 (-0400) Subject: Documentation: Fix "struct kobj_type" to include newer members. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae6480eca04712dfe901280ceb6d04e687dd0284;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Documentation: Fix "struct kobj_type" to include newer members. kobj_type replaced by verbatim copy-and-paste from kobject.h. Signed-off-by: Robert P. J. Day Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt index 49578cf1aea..c5182bb2c16 100644 --- a/Documentation/kobject.txt +++ b/Documentation/kobject.txt @@ -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