[7/12] More Driver Model Locking Changes

From: Patrick Mochel
Date: Fri Mar 25 2005 - 01:17:42 EST



ChangeSet@xxxxxx, 2005-03-24 13:08:05-08:00, mochel@xxxxxxxxxxxxxxxxxx
[driver core] Remove struct device::driver_list.


Signed-off-by: Patrick Mochel <mochel@xxxxxxxxxxxxxxxxxx>

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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/