ide: fix ide_unregister() usage in host drivers
[pandora-kernel.git] / drivers / ide / legacy / ide_platform.c
index c0dd67f..26c82ce 100644 (file)
@@ -122,7 +122,7 @@ static int __devexit plat_ide_remove(struct platform_device *pdev)
 {
        ide_hwif_t *hwif = pdev->dev.driver_data;
 
-       ide_unregister(hwif->index, 1, 1);
+       ide_unregister(hwif->index, 0, 0);
 
        return 0;
 }