2005-03-25 06:13:25

by Patrick Mochel

[permalink] [raw]
Subject: [7/12] More Driver Model Locking Changes


[email protected], 2005-03-24 13:08:05-08:00, [email protected]
[driver core] Remove struct device::driver_list.


Signed-off-by: Patrick Mochel <[email protected]>

diff -Nru a/drivers/base/core.c b/drivers/base/core.c
--- a/drivers/base/core.c 2005-03-24 20:33:16 -08:00
+++ b/drivers/base/core.c 2005-03-24 20:33:16 -08:00
@@ -212,7 +212,6 @@
kobject_init(&dev->kobj);
INIT_LIST_HEAD(&dev->node);
INIT_LIST_HEAD(&dev->children);
- INIT_LIST_HEAD(&dev->driver_list);
INIT_LIST_HEAD(&dev->dma_pools);
init_MUTEX(&dev->sem);
}
diff -Nru a/include/linux/device.h b/include/linux/device.h
--- a/include/linux/device.h 2005-03-24 20:33:16 -08:00
+++ b/include/linux/device.h 2005-03-24 20:33:16 -08:00
@@ -264,7 +264,6 @@

struct device {
struct list_head node; /* node in sibling list */
- struct list_head driver_list;
struct list_head children;
struct klist_node knode_driver;
struct klist_node knode_bus;