ide: remove broken/dangerous HDIO_[UNREGISTER,SCAN]_HWIF ioctls (take 3)
[linux-2.6.git] / drivers / ide / arm / bast-ide.c
index a22da7a..d219643 100644 (file)
@@ -48,7 +48,7 @@ static int __init bastide_register(unsigned int base, unsigned int aux, int irq)
        i = hwif->index;
 
        if (hwif->present)
-               ide_unregister(i, 0, 0);
+               ide_unregister(i);
        else if (!hwif->hold)
                ide_init_port_data(hwif, i);