diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2012-08-28 12:45:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 19:06:34 -0400 |
commit | ae6480eca04712dfe901280ceb6d04e687dd0284 (patch) | |
tree | a6f9128091472a0fd4983bba1b0340996096f696 /Documentation | |
parent | 6e2187bf59a1452ed26a2f3baf6e4900c62fcd6c (diff) |
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 <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kobject.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt index 49578cf1aea5..c5182bb2c16c 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 | |||
284 | kobj_type: | 284 | kobj_type: |
285 | 285 | ||
286 | struct kobj_type { | 286 | struct kobj_type { |
287 | void (*release)(struct kobject *); | 287 | void (*release)(struct kobject *kobj); |
288 | const struct sysfs_ops *sysfs_ops; | 288 | const struct sysfs_ops *sysfs_ops; |
289 | struct attribute **default_attrs; | 289 | struct attribute **default_attrs; |
290 | const struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *kobj); | ||
291 | const void *(*namespace)(struct kobject *kobj); | ||
290 | }; | 292 | }; |
291 | 293 | ||
292 | This structure is used to describe a particular type of kobject (or, more | 294 | This structure is used to describe a particular type of kobject (or, more |