[7/12] More Driver Model Locking Changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux