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, 2 insertions, 5 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index c1f72984875f..b0556082179b 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -35,6 +35,7 @@ struct device;
35struct device_driver; 35struct device_driver;
36struct driver_private; 36struct driver_private;
37struct class; 37struct class;
38struct class_private;
38struct bus_type; 39struct bus_type;
39struct bus_type_private; 40struct bus_type_private;
40 41
@@ -186,11 +187,6 @@ struct class {
186 const char *name; 187 const char *name;
187 struct module *owner; 188 struct module *owner;
188 189
189 struct kset subsys;
190 struct list_head devices;
191 struct list_head interfaces;
192 struct kset class_dirs;
193 struct semaphore sem; /* locks children, devices, interfaces */
194 struct class_attribute *class_attrs; 190 struct class_attribute *class_attrs;
195 struct device_attribute *dev_attrs; 191 struct device_attribute *dev_attrs;
196 struct kobject *dev_kobj; 192 struct kobject *dev_kobj;
@@ -204,6 +200,7 @@ struct class {
204 int (*resume)(struct device *dev); 200 int (*resume)(struct device *dev);
205 201
206 struct pm_ops *pm; 202 struct pm_ops *pm;
203 struct class_private *p;
207}; 204};
208 205
209extern struct kobject *sysfs_dev_block_kobj; 206extern struct kobject *sysfs_dev_block_kobj;