lkml.org 
[lkml]   [2005]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[6/12] More Driver Model Locking Changes

ChangeSet@1.2244, 2005-03-24 13:03:35-08:00, mochel@digitalimplant.org
[driver core] Remove struct device::bus_list.


Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>

diff -Nru a/drivers/base/core.c b/drivers/base/core.c
--- a/drivers/base/core.c 2005-03-24 20:33:23 -08:00
+++ b/drivers/base/core.c 2005-03-24 20:33:23 -08:00
@@ -212,7 +212,6 @@
kobject_init(&dev->kobj);
INIT_LIST_HEAD(&dev->node);
INIT_LIST_HEAD(&dev->children);
- INIT_LIST_HEAD(&dev->bus_list);
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:23 -08:00
+++ b/include/linux/device.h 2005-03-24 20:33:23 -08:00
@@ -264,7 +264,6 @@

struct device {
struct list_head node; /* node in sibling list */
- struct list_head bus_list; /* node in bus's list */
struct list_head driver_list;
struct list_head children;
struct klist_node knode_driver;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-04-06 13:30    [W:0.022 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site