diff options
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 29dc444e3361..29841bb5badb 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -216,15 +216,6 @@ extern struct kset *firmware_kset; | |||
216 | extern int __must_check subsystem_register(struct kset *); | 216 | extern int __must_check subsystem_register(struct kset *); |
217 | extern void subsystem_unregister(struct kset *); | 217 | extern void subsystem_unregister(struct kset *); |
218 | 218 | ||
219 | struct subsys_attribute { | ||
220 | struct attribute attr; | ||
221 | ssize_t (*show)(struct kset *, char *); | ||
222 | ssize_t (*store)(struct kset *, const char *, size_t); | ||
223 | }; | ||
224 | |||
225 | extern int __must_check subsys_create_file(struct kset *, | ||
226 | struct subsys_attribute *); | ||
227 | |||
228 | #if defined(CONFIG_HOTPLUG) | 219 | #if defined(CONFIG_HOTPLUG) |
229 | int kobject_uevent(struct kobject *kobj, enum kobject_action action); | 220 | int kobject_uevent(struct kobject *kobj, enum kobject_action action); |
230 | int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, | 221 | int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, |