aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index ff83b61d283d..6579068134d1 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;
@@ -178,7 +178,7 @@ struct class {
178 const char * name; 178 const char * name;
179 struct module * owner; 179 struct module * owner;
180 180
181 struct subsystem subsys; 181 struct kset subsys;
182 struct list_head children; 182 struct list_head children;
183 struct list_head devices; 183 struct list_head devices;
184 struct list_head interfaces; 184 struct list_head interfaces;
@@ -558,8 +558,8 @@ extern void device_shutdown(void);
558 558
559 559
560/* drivers/base/firmware.c */ 560/* drivers/base/firmware.c */
561extern int __must_check firmware_register(struct subsystem *); 561extern int __must_check firmware_register(struct kset *);
562extern void firmware_unregister(struct subsystem *); 562extern void firmware_unregister(struct kset *);
563 563
564/* debugging and troubleshooting/diagnostic helpers. */ 564/* debugging and troubleshooting/diagnostic helpers. */
565extern const char *dev_driver_string(struct device *dev); 565extern const char *dev_driver_string(struct device *dev);