diff options
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 10f5aa20e041..e36953cf7f14 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/config.h> | 14 | #include <linux/config.h> |
15 | #include <linux/ioport.h> | 15 | #include <linux/ioport.h> |
16 | #include <linux/kobject.h> | 16 | #include <linux/kobject.h> |
17 | #include <linux/klist.h> | ||
17 | #include <linux/list.h> | 18 | #include <linux/list.h> |
18 | #include <linux/types.h> | 19 | #include <linux/types.h> |
19 | #include <linux/module.h> | 20 | #include <linux/module.h> |
@@ -51,6 +52,7 @@ struct bus_type { | |||
51 | struct subsystem subsys; | 52 | struct subsystem subsys; |
52 | struct kset drivers; | 53 | struct kset drivers; |
53 | struct kset devices; | 54 | struct kset devices; |
55 | struct klist klist_devices; | ||
54 | 56 | ||
55 | struct bus_attribute * bus_attrs; | 57 | struct bus_attribute * bus_attrs; |
56 | struct device_attribute * dev_attrs; | 58 | struct device_attribute * dev_attrs; |
@@ -262,6 +264,7 @@ struct device { | |||
262 | struct list_head bus_list; /* node in bus's list */ | 264 | struct list_head bus_list; /* node in bus's list */ |
263 | struct list_head driver_list; | 265 | struct list_head driver_list; |
264 | struct list_head children; | 266 | struct list_head children; |
267 | struct klist_node knode_bus; | ||
265 | struct device * parent; | 268 | struct device * parent; |
266 | 269 | ||
267 | struct kobject kobj; | 270 | struct kobject kobj; |