diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 1ef293757043..c8d533a1015e 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1453,8 +1453,10 @@ int ide_device_add_all(u8 *idx, const struct ide_port_info *d) | |||
1453 | 1453 | ||
1454 | hwif = &ide_hwifs[idx[i]]; | 1454 | hwif = &ide_hwifs[idx[i]]; |
1455 | 1455 | ||
1456 | if (hwif->present) | 1456 | if (hwif->present) { |
1457 | ide_proc_register_port(hwif); | 1457 | ide_proc_register_port(hwif); |
1458 | ide_proc_port_register_devices(hwif); | ||
1459 | } | ||
1458 | } | 1460 | } |
1459 | 1461 | ||
1460 | return rc; | 1462 | return rc; |