commit | 99178b036c97293a65004ff5ec5cff9f833aaecd | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Tue Aug 26 11:00:57 2008 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Oct 16 09:24:52 2008 -0700 |
tree | c83ac6855710038ad9846f79b952b7fdcca528f8 | |
parent | 26853ab6f9a4c482be4b638477335704724d4854 [diff] |
Driver core: add bus_sort_breadthfirst() function The PCI core wants to reorder the devices in the bus list. So move this functionality out of the pci core and into the driver core so that anyone else can also do this if needed. This also lets us change how struct device is attached to drivers in the future without messing with the PCI core. Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>