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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index dd4895313468..1e2d335ab683 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -30,9 +30,8 @@ struct device_private;
30struct device_driver; 30struct device_driver;
31struct driver_private; 31struct driver_private;
32struct class; 32struct class;
33struct class_private; 33struct subsys_private;
34struct bus_type; 34struct bus_type;
35struct bus_type_private;
36struct device_node; 35struct device_node;
37 36
38struct bus_attribute { 37struct bus_attribute {
@@ -65,7 +64,7 @@ struct bus_type {
65 64
66 const struct dev_pm_ops *pm; 65 const struct dev_pm_ops *pm;
67 66
68 struct bus_type_private *p; 67 struct subsys_private *p;
69}; 68};
70 69
71extern int __must_check bus_register(struct bus_type *bus); 70extern int __must_check bus_register(struct bus_type *bus);
@@ -213,7 +212,7 @@ struct class {
213 212
214 const struct dev_pm_ops *pm; 213 const struct dev_pm_ops *pm;
215 214
216 struct class_private *p; 215 struct subsys_private *p;
217}; 216};
218 217
219struct class_dev_iter { 218struct class_dev_iter {