diff options
Diffstat (limited to 'drivers/base/driver.c')
-rw-r--r-- | drivers/base/driver.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 83260990af..c43a4bde2a 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -140,6 +140,14 @@ int device_detect_by_name(const char *__devname) return ret; } +void device_detect_all(void) +{ + struct device_d *dev; + + for_each_device(dev) + device_detect(dev); +} + static int match(struct driver_d *drv, struct device_d *dev) { int ret; |