aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormochel@digitalimplant.org <mochel@digitalimplant.org>2005-03-24 16:08:05 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-20 18:15:18 -0400
commit63c4f204ffc8219696bda88eb20c9873d007a2fc (patch)
tree4a787908743ae0360b4e4356326c8912e6954a40
parent7dc35cdf69149a7f2b5216ada9bafe359746ac1c (diff)
[PATCH] Remove struct device::driver_list.
Signed-off-by: Patrick Mochel <mochel@digitalimplant.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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;