• Matt Domsch's avatar
    dynids: call driver_attach() when new IDs are added · 8a6a5068
    Matt Domsch authored
    This causes the driver to create proper device symlinks in sysfs when
    new IDs are added and thus new devices found by the driver.
    
    drivers/base/bus.c
        make driver_attach non-static
    drivers/pci/pci-driver.c
        delete probe_each_pci_dev, call driver_attach instead.
        Whitespace cleanups.
    include/linux/device.h
        add declaration of driver_attach.
    8a6a5068
pci-driver.c 11 KB