aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-12-16 15:24:56 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-24 19:38:25 -0400
commitf791b8c836307b58cbf62133a6a772ed1a92fb33 (patch)
treedb4e3eb6c7f90e43f4aa73009a14e285014b349a /include/linux/device.h
parentfb069a5d132fb926ed17af3211a114ac7cf27d7a (diff)
driver core: move klist_children into private structure
Nothing outside of the driver core should ever touch klist_children, or knode_parent, so move them out of the public eye. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 4cf063fea2a9..808d808ec696 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -368,8 +368,6 @@ struct device_dma_parameters {
368}; 368};
369 369
370struct device { 370struct device {
371 struct klist klist_children;
372 struct klist_node knode_parent; /* node in sibling list */
373 struct klist_node knode_driver; 371 struct klist_node knode_driver;
374 struct klist_node knode_bus; 372 struct klist_node knode_bus;
375 struct device *parent; 373 struct device *parent;