sunrpc: centralise most calls to svc_xprt_received
[safe/jmp/linux-2.6] / Documentation / kobject.txt
index b2e3745..bdb1381 100644 (file)
@@ -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;
     };