diff options
-rw-r--r-- | drivers/base/firmware.c | 3 | ||||
-rw-r--r-- | include/linux/kobject.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/base/firmware.c b/drivers/base/firmware.c index 6a4e494042f6..c7f635b11dfd 100644 --- a/drivers/base/firmware.c +++ b/drivers/base/firmware.c | |||
@@ -15,7 +15,8 @@ | |||
15 | 15 | ||
16 | #include "base.h" | 16 | #include "base.h" |
17 | 17 | ||
18 | static struct kset *firmware_kset; | 18 | struct kset *firmware_kset; |
19 | EXPORT_SYMBOL_GPL(firmware_kset); | ||
19 | 20 | ||
20 | int firmware_register(struct kset *s) | 21 | int firmware_register(struct kset *s) |
21 | { | 22 | { |
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; | |||
210 | extern struct kobject *hypervisor_kobj; | 210 | extern 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 */ |
212 | extern struct kset *power_kset; | 212 | extern struct kset *power_kset; |
213 | /* The global /sys/firmware/ kset for people to chain off of */ | ||
214 | extern struct kset *firmware_kset; | ||
213 | 215 | ||
214 | extern int __must_check subsystem_register(struct kset *); | 216 | extern int __must_check subsystem_register(struct kset *); |
215 | extern void subsystem_unregister(struct kset *); | 217 | extern void subsystem_unregister(struct kset *); |