diff options
Diffstat (limited to 'drivers/ide/arm/rapide.c')
-rw-r--r-- | drivers/ide/arm/rapide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/arm/rapide.c b/drivers/ide/arm/rapide.c index c0581bd98d0d..3d30d4b5f9e3 100644 --- a/drivers/ide/arm/rapide.c +++ b/drivers/ide/arm/rapide.c | |||
@@ -75,7 +75,7 @@ static void __devexit rapide_remove(struct expansion_card *ec) | |||
75 | 75 | ||
76 | ecard_set_drvdata(ec, NULL); | 76 | ecard_set_drvdata(ec, NULL); |
77 | 77 | ||
78 | ide_unregister(hwif->index); | 78 | ide_unregister(hwif); |
79 | 79 | ||
80 | ecard_release_resources(ec); | 80 | ecard_release_resources(ec); |
81 | } | 81 | } |