X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=Documentation%2Fkobject.txt;h=bdb13817e1e9ebc0ad667482deb4e2107361961b;hb=b48fa6b99100dc7772af3cd276035fcec9719ceb;hp=b2e374586bd8627719167011a992ec3eb81a1c96;hpb=0732b49c8c40c56033cff8986dbad55aa54a5d40;p=safe%2Fjmp%2Flinux-2.6 diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt index b2e3745..bdb1381 100644 --- a/Documentation/kobject.txt +++ b/Documentation/kobject.txt @@ -132,7 +132,7 @@ kobject_name(): const char *kobject_name(const struct kobject * kobj); There is a helper function to both initialize and add the kobject to the -kernel at the same time, called supprisingly enough kobject_init_and_add(): +kernel at the same time, called surprisingly enough kobject_init_and_add(): int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...); @@ -266,7 +266,7 @@ kobj_type: struct kobj_type { void (*release)(struct kobject *); - struct sysfs_ops *sysfs_ops; + const struct sysfs_ops *sysfs_ops; struct attribute **default_attrs; };