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-01-06 13:44:32 -0500
commit11c3b5c3e08f4d855cbef52883c266b9ab9df879 (patch)
tree43278db9cb198f3800eaa73c3c051d875c92709d /include/linux/device.h
parent2831fe6f9cc4e16c103504ee09a47a084297c0f3 (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 d6d34084fd37..60423e687205 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -366,8 +366,6 @@ struct device_dma_parameters {
366}; 366};
367 367
368struct device { 368struct device {
369 struct klist klist_children;
370 struct klist_node knode_parent; /* node in sibling list */
371 struct klist_node knode_driver; 369 struct klist_node knode_driver;
372 struct klist_node knode_bus; 370 struct klist_node knode_bus;
373 struct device *parent; 371 struct device *parent;