aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r--drivers/ide/ide-probe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 8ef5194f6d47..33cb5e5a249b 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -1519,8 +1519,7 @@ int ide_device_add_all(u8 *idx, const struct ide_port_info *d)
1519 hwif = &ide_hwifs[idx[i]]; 1519 hwif = &ide_hwifs[idx[i]];
1520 1520
1521 if (hwif->present) { 1521 if (hwif->present) {
1522 if (hwif->chipset == ide_unknown || 1522 if (hwif->chipset == ide_unknown)
1523 hwif->chipset == ide_forced)
1524 hwif->chipset = ide_generic; 1523 hwif->chipset = ide_generic;
1525 hwif_register_devices(hwif); 1524 hwif_register_devices(hwif);
1526 } 1525 }