aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/pata_legacy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index 3f830f0fe2cc..0c6dde80417b 100644
--- a/drivers/ata/pata_legacy.c
+++ b/drivers/ata/pata_legacy.c
@@ -1032,6 +1032,7 @@ static __init int legacy_init_one(struct legacy_probe *probe)
1032 return 0; 1032 return 0;
1033 } 1033 }
1034 } 1034 }
1035 ata_host_detach(host);
1035fail: 1036fail:
1036 platform_device_unregister(pdev); 1037 platform_device_unregister(pdev);
1037 return ret; 1038 return ret;