aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/base/core.c1
-rw-r--r--include/linux/device.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index f258a21ed78a..bfa4268289ea 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -209,7 +209,6 @@ void device_initialize(struct device *dev)
209 kobject_init(&dev->kobj); 209 kobject_init(&dev->kobj);
210 INIT_LIST_HEAD(&dev->node); 210 INIT_LIST_HEAD(&dev->node);
211 INIT_LIST_HEAD(&dev->children); 211 INIT_LIST_HEAD(&dev->children);
212 INIT_LIST_HEAD(&dev->driver_list);
213 INIT_LIST_HEAD(&dev->dma_pools); 212 INIT_LIST_HEAD(&dev->dma_pools);
214 init_MUTEX(&dev->sem); 213 init_MUTEX(&dev->sem);
215} 214}
diff --git a/include/linux/device.h b/include/linux/device.h
index 13f65853e583..d2434934d091 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -263,7 +263,6 @@ extern void class_device_destroy(struct class *cls, dev_t devt);
263 263
264struct device { 264struct device {
265 struct list_head node; /* node in sibling list */ 265 struct list_head node; /* node in sibling list */
266 struct list_head driver_list;
267 struct list_head children; 266 struct list_head children;
268 struct klist_node knode_driver; 267 struct klist_node knode_driver;
269 struct klist_node knode_bus; 268 struct klist_node knode_bus;