summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2008-12-16 21:24:56 +0100
committerGreg Kroah-Hartman2009-01-06 19:44:32 +0100
commit11c3b5c3e08f4d855cbef52883c266b9ab9df879 (patch)
tree43278db9cb198f3800eaa73c3c051d875c92709d /include
parentdriver core: create a private portion of struct device (diff)
downloadkernel-qcow2-linux-11c3b5c3e08f4d855cbef52883c266b9ab9df879.tar.gz
kernel-qcow2-linux-11c3b5c3e08f4d855cbef52883c266b9ab9df879.tar.xz
kernel-qcow2-linux-11c3b5c3e08f4d855cbef52883c266b9ab9df879.zip
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')
-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 {
};
struct device {
- struct klist klist_children;
- struct klist_node knode_parent; /* node in sibling list */
struct klist_node knode_driver;
struct klist_node knode_bus;
struct device *parent;