summaryrefslogtreecommitdiffstats
path: root/drivers/base/firmware.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-02 21:20:40 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 05:40:19 +0100
commit9e5f7f9abe18a4f134585a2de016974cbda80539 (patch)
tree895be0970aadd1b4e8584891d546ef4379a15e40 /drivers/base/firmware.c
parentkobject: convert efivars to kobj_attr interface (diff)
downloadlinux-9e5f7f9abe18a4f134585a2de016974cbda80539.tar.xz
linux-9e5f7f9abe18a4f134585a2de016974cbda80539.zip
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 'drivers/base/firmware.c')
-rw-r--r--drivers/base/firmware.c3
1 files changed, 2 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 @@
#include "base.h"
-static struct kset *firmware_kset;
+struct kset *firmware_kset;
+EXPORT_SYMBOL_GPL(firmware_kset);
int firmware_register(struct kset *s)
{