diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-13 16:15:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-02 21:57:59 -0400 |
commit | 823bccfc4002296ba88c3ad0f049e1abd8108d30 (patch) | |
tree | 5338ae0b32409446af4cd00c5107d9405d5bf0b6 /drivers/base/firmware.c | |
parent | 2609e7b9bebfd433254c02538ba803dc516ff674 (diff) |
remove "struct subsystem" as it is no longer needed
We need to work on cleaning up the relationship between kobjects, ksets and
ktypes. The removal of 'struct subsystem' is the first step of this,
especially as it is not really needed at all.
Thanks to Kay for fixing the bugs in this patch.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/firmware.c')
-rw-r--r-- | drivers/base/firmware.c | 6 |
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 @@ | |||
17 | 17 | ||
18 | static decl_subsys(firmware, NULL, NULL); | 18 | static decl_subsys(firmware, NULL, NULL); |
19 | 19 | ||
20 | int firmware_register(struct subsystem * s) | 20 | int firmware_register(struct kset *s) |
21 | { | 21 | { |
22 | kset_set_kset_s(s, firmware_subsys); | 22 | kobj_set_kset_s(s, firmware_subsys); |
23 | return subsystem_register(s); | 23 | return subsystem_register(s); |
24 | } | 24 | } |
25 | 25 | ||
26 | void firmware_unregister(struct subsystem * s) | 26 | void firmware_unregister(struct kset *s) |
27 | { | 27 | { |
28 | subsystem_unregister(s); | 28 | subsystem_unregister(s); |
29 | } | 29 | } |