aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/arm/bast-ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/arm/bast-ide.c')
-rw-r--r--drivers/ide/arm/bast-ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/arm/bast-ide.c b/drivers/ide/arm/bast-ide.c
index a22da7ab2b5..d2196436788 100644
--- a/drivers/ide/arm/bast-ide.c
+++ b/drivers/ide/arm/bast-ide.c
@@ -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);