driver core: move knode_bus into private structure

Nothing outside of the driver core should ever touch knode_bus, so
move it out of the public eye.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman
2008-12-16 12:26:21 -08:00
parent 8940b4f312
commit ae1b41715e
3 changed files with 31 additions and 14 deletions

View File

@@ -368,7 +368,6 @@ struct device_dma_parameters {
};
struct device {
struct klist_node knode_bus;
struct device *parent;
struct device_private *p;