summaryrefslogtreecommitdiffstats
path: root/drivers/base/firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/firmware.c')
-rw-r--r--drivers/base/firmware.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/firmware.c b/drivers/base/firmware.c
index cb1b98ae0d58..90c862932169 100644
--- a/drivers/base/firmware.c
+++ b/drivers/base/firmware.c
@@ -17,13 +17,13 @@
static decl_subsys(firmware, NULL, NULL);
-int firmware_register(struct subsystem * s)
+int firmware_register(struct kset *s)
{
- kset_set_kset_s(s, firmware_subsys);
+ kobj_set_kset_s(s, firmware_subsys);
return subsystem_register(s);
}
-void firmware_unregister(struct subsystem * s)
+void firmware_unregister(struct kset *s)
{
subsystem_unregister(s);
}
OpenPOWER on IntegriCloud