diff options
| -rw-r--r-- | drivers/ide/ide-probe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 01b2adfd8226..eaf39e5db08b 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
| @@ -1451,6 +1451,7 @@ int ide_host_register(struct ide_host *host, const struct ide_port_info *d, | |||
| 1451 | if (hwif_init(hwif) == 0) { | 1451 | if (hwif_init(hwif) == 0) { |
| 1452 | printk(KERN_INFO "%s: failed to initialize IDE " | 1452 | printk(KERN_INFO "%s: failed to initialize IDE " |
| 1453 | "interface\n", hwif->name); | 1453 | "interface\n", hwif->name); |
| 1454 | device_unregister(hwif->portdev); | ||
| 1454 | device_unregister(&hwif->gendev); | 1455 | device_unregister(&hwif->gendev); |
| 1455 | ide_disable_port(hwif); | 1456 | ide_disable_port(hwif); |
| 1456 | continue; | 1457 | continue; |
