X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fkobject.h;h=e694261de90f09a985c99f9d0c0db44b3eebde93;hb=23b5212cc7422f475b82124334b64277b5b43013;hp=a6dd669cda9d5d7d4b07f693a7a7f7e7e024f658;hpb=6dcec2511ff55b4abaca7ad3433011a7c04c2430;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/kobject.h b/include/linux/kobject.h index a6dd669cda9..e694261de90 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h @@ -126,6 +126,16 @@ struct kset_uevent_ops { struct kobj_uevent_env *env); }; +struct kobj_attribute { + struct attribute attr; + ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr, + char *buf); + ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr, + const char *buf, size_t count); +}; + +extern struct sysfs_ops kobj_sysfs_ops; + /** * struct kset - a set of kobjects of a specific type, belonging to a specific subsystem. *