aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/rapide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/rapide.c')
-rw-r--r--drivers/ide/rapide.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ide/rapide.c b/drivers/ide/rapide.c
index 48d976aad7ab..d73c3d10087c 100644
--- a/drivers/ide/rapide.c
+++ b/drivers/ide/rapide.c
@@ -29,8 +29,7 @@ static void rapide_setup_ports(struct ide_hw *hw, void __iomem *base,
29 hw->irq = irq; 29 hw->irq = irq;
30} 30}
31 31
32static int __devinit 32static int rapide_probe(struct expansion_card *ec, const struct ecard_id *id)
33rapide_probe(struct expansion_card *ec, const struct ecard_id *id)
34{ 33{
35 void __iomem *base; 34 void __iomem *base;
36 struct ide_host *host; 35 struct ide_host *host;
@@ -64,7 +63,7 @@ rapide_probe(struct expansion_card *ec, const struct ecard_id *id)
64 return ret; 63 return ret;
65} 64}
66 65
67static void __devexit rapide_remove(struct expansion_card *ec) 66static void rapide_remove(struct expansion_card *ec)
68{ 67{
69 struct ide_host *host = ecard_get_drvdata(ec); 68 struct ide_host *host = ecard_get_drvdata(ec);
70 69
@@ -82,7 +81,7 @@ static struct ecard_id rapide_ids[] = {
82 81
83static struct ecard_driver rapide_driver = { 82static struct ecard_driver rapide_driver = {
84 .probe = rapide_probe, 83 .probe = rapide_probe,
85 .remove = __devexit_p(rapide_remove), 84 .remove = rapide_remove,
86 .id_table = rapide_ids, 85 .id_table = rapide_ids,
87 .drv = { 86 .drv = {
88 .name = "rapide", 87 .name = "rapide",