ide: remove broken/dangerous HDIO_[UNREGISTER,SCAN]_HWIF ioctls (take 3)
[linux-2.6.git] / drivers / ide / pci / scc_pata.c
index 238e3e1..085c1b5 100644 (file)
@@ -736,7 +736,7 @@ static void __devexit scc_remove(struct pci_dev *dev)
                hwif->dmatable_cpu = NULL;
        }
 
-       ide_unregister(hwif->index, 0, 0);
+       ide_unregister(hwif->index);
 
        hwif->chipset = ide_unknown;
        iounmap((void*)ports->dma);