aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-01-09 18:30:54 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-09 18:31:07 -0500
commit0d34052dfeba307ebc18d2f672e80e3f419714d4 (patch)
tree8f7955328cd9700c443c33f88631449a0c1208fb /include
parentf0fb2eb7bd76b9927f1350cfb0a3653385b82c6c (diff)
parent926beadb3dfaddccb3348a5b9e6c2a1f8290a220 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: Revert "driver core: create a private portion of struct device" Revert "driver core: move klist_children into private structure" Revert "driver core: move knode_driver into private structure" Revert "driver core: move knode_bus into private structure"
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 7d9da4b4993f..45e5b1921fbb 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -28,7 +28,6 @@
28#define BUS_ID_SIZE 20 28#define BUS_ID_SIZE 20
29 29
30struct device; 30struct device;
31struct device_private;
32struct device_driver; 31struct device_driver;
33struct driver_private; 32struct driver_private;
34struct class; 33struct class;
@@ -366,10 +365,12 @@ struct device_dma_parameters {
366}; 365};
367 366
368struct device { 367struct device {
368 struct klist klist_children;
369 struct klist_node knode_parent; /* node in sibling list */
370 struct klist_node knode_driver;
371 struct klist_node knode_bus;
369 struct device *parent; 372 struct device *parent;
370 373
371 struct device_private *p;
372
373 struct kobject kobj; 374 struct kobject kobj;
374 char bus_id[BUS_ID_SIZE]; /* position on parent bus */ 375 char bus_id[BUS_ID_SIZE]; /* position on parent bus */
375 unsigned uevent_suppress:1; 376 unsigned uevent_suppress:1;