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 93e746db18
commit b9daa99ee5
3 changed files with 31 additions and 14 deletions

View file

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