summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorMatt Domsch <matt_domsch@dell.com>2003-05-06 01:15:45 -0500
committerMatt Domsch <matt_domsch@dell.com>2003-05-06 01:15:45 -0500
commit8a6a5068daa2cb6cd8748098c4e80024dee27b15 (patch)
tree6ef178404a17fccf86821bfe07d47e90331dce32 /include/linux/device.h
parent482ac9849e0e42693ebca018fffbd45b0ac9c3c7 (diff)
dynids: call driver_attach() when new IDs are added
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.
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 208d615b103d..a66a1927115f 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -318,6 +318,7 @@ extern void device_del(struct device * dev);
*/
extern void device_bind_driver(struct device * dev);
extern void device_release_driver(struct device * dev);
+extern void driver_attach(struct device_driver * drv);
/* driverfs interface for exporting device attributes */