diff options
Diffstat (limited to 'src/devices/device.c')
-rw-r--r-- | src/devices/device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/device.c b/src/devices/device.c index 8ad489b11a..ba4a2f4901 100644 --- a/src/devices/device.c +++ b/src/devices/device.c @@ -613,10 +613,13 @@ void dev_initialize(void) struct device *dev; printk_info("Initializing devices...\n"); + for (dev = all_devices; dev; dev = dev->next) { if (dev->enabled && !dev->initialized && dev->ops && dev->ops->init) { + if(dev->path.type == DEVICE_PATH_I2C) + printk_debug("smbus: %s[%d]->", dev_path(dev->bus->dev), dev->bus->link ); printk_debug("%s init\n", dev_path(dev)); dev->initialized = 1; dev->ops->init(dev); |