aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-02 16:20:40 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 23:40:19 -0500
commit9e5f7f9abe18a4f134585a2de016974cbda80539 (patch)
tree895be0970aadd1b4e8584891d546ef4379a15e40 /include/linux/kobject.h
parent334c6307543a2b8af730a422f466d5f9442b606a (diff)
firmware: export firmware_kset so that people can use that instead of the braindead firmware_register interface
Needed for future firmware subsystem cleanups. In the end, the firmware_register/unregister functions will be deleted entirely, but we need this symbol so that subsystems can migrate over. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Matt Domsch <Matt_Domsch@dell.com> Cc: Matt Tolentino <matthew.e.tolentino@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index e694261de90f..29dc444e3361 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -210,6 +210,8 @@ extern struct kset *kernel_kset;
210extern struct kobject *hypervisor_kobj; 210extern struct kobject *hypervisor_kobj;
211/* The global /sys/power/ kset for people to chain off of */ 211/* The global /sys/power/ kset for people to chain off of */
212extern struct kset *power_kset; 212extern struct kset *power_kset;
213/* The global /sys/firmware/ kset for people to chain off of */
214extern struct kset *firmware_kset;
213 215
214extern int __must_check subsystem_register(struct kset *); 216extern int __must_check subsystem_register(struct kset *);
215extern void subsystem_unregister(struct kset *); 217extern void subsystem_unregister(struct kset *);