• G
    driver core: add way to get to bus device klist · b249072e
    Greg Kroah-Hartman 提交于
    This allows an easier way to get to the device klist associated with a
    struct bus_type (you have three to choose from...)  This will make it
    easier to move these fields to be dynamic in a future patch.
    
    The only user of this is the PCI core which horribly abuses this
    interface to rearrange the order of the pci devices.  This should be
    done using the existing bus device walking functions, but that's left
    for future patches.
    
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    b249072e
device.h 20.0 KB