Skip to content

Commit

Permalink
Documentation: Fix "struct kobj_type" to include newer members.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert P. J. Day authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 6e2187b commit ae6480e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Documentation/kobject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae6480e

Please sign in to comment.