diff options
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index a0cd2ced31a9..ee292fe87cb2 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -53,7 +53,7 @@ struct bus_type { | |||
53 | const char * name; | 53 | const char * name; |
54 | struct module * owner; | 54 | struct module * owner; |
55 | 55 | ||
56 | struct subsystem subsys; | 56 | struct kset subsys; |
57 | struct kset drivers; | 57 | struct kset drivers; |
58 | struct kset devices; | 58 | struct kset devices; |
59 | struct klist klist_devices; | 59 | struct klist klist_devices; |
@@ -179,7 +179,7 @@ struct class { | |||
179 | const char * name; | 179 | const char * name; |
180 | struct module * owner; | 180 | struct module * owner; |
181 | 181 | ||
182 | struct subsystem subsys; | 182 | struct kset subsys; |
183 | struct list_head children; | 183 | struct list_head children; |
184 | struct list_head devices; | 184 | struct list_head devices; |
185 | struct list_head interfaces; | 185 | struct list_head interfaces; |
@@ -559,8 +559,8 @@ extern void device_shutdown(void); | |||
559 | 559 | ||
560 | 560 | ||
561 | /* drivers/base/firmware.c */ | 561 | /* drivers/base/firmware.c */ |
562 | extern int __must_check firmware_register(struct subsystem *); | 562 | extern int __must_check firmware_register(struct kset *); |
563 | extern void firmware_unregister(struct subsystem *); | 563 | extern void firmware_unregister(struct kset *); |
564 | 564 | ||
565 | /* debugging and troubleshooting/diagnostic helpers. */ | 565 | /* debugging and troubleshooting/diagnostic helpers. */ |
566 | extern const char *dev_driver_string(struct device *dev); | 566 | extern const char *dev_driver_string(struct device *dev); |