aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/firmware.c')
-rw-r--r--drivers/base/firmware.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/base/firmware.c b/drivers/base/firmware.c
index 90c862932169..336be0450d54 100644
--- a/drivers/base/firmware.c
+++ b/drivers/base/firmware.c
@@ -15,11 +15,12 @@
15 15
16#include "base.h" 16#include "base.h"
17 17
18static decl_subsys(firmware, NULL, NULL); 18static decl_subsys(firmware, NULL);
19 19
20int firmware_register(struct kset *s) 20int firmware_register(struct kset *s)
21{ 21{
22 kobj_set_kset_s(s, firmware_subsys); 22 s->kobj.kset = &firmware_subsys;
23 s->kobj.ktype = NULL;
23 return subsystem_register(s); 24 return subsystem_register(s);
24} 25}
25 26