aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/icside.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/icside.c')
-rw-r--r--drivers/ide/icside.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/ide/icside.c b/drivers/ide/icside.c
index e640d0ac3af6..9f0a48e39b8a 100644
--- a/drivers/ide/icside.c
+++ b/drivers/ide/icside.c
@@ -406,8 +406,8 @@ static const struct ide_port_info icside_v5_port_info = {
406 .chipset = ide_acorn, 406 .chipset = ide_acorn,
407}; 407};
408 408
409static int __devinit 409static int icside_register_v5(struct icside_state *state,
410icside_register_v5(struct icside_state *state, struct expansion_card *ec) 410 struct expansion_card *ec)
411{ 411{
412 void __iomem *base; 412 void __iomem *base;
413 struct ide_host *host; 413 struct ide_host *host;
@@ -460,8 +460,8 @@ static const struct ide_port_info icside_v6_port_info __initconst = {
460 .chipset = ide_acorn, 460 .chipset = ide_acorn,
461}; 461};
462 462
463static int __devinit 463static int icside_register_v6(struct icside_state *state,
464icside_register_v6(struct icside_state *state, struct expansion_card *ec) 464 struct expansion_card *ec)
465{ 465{
466 void __iomem *ioc_base, *easi_base; 466 void __iomem *ioc_base, *easi_base;
467 struct ide_host *host; 467 struct ide_host *host;
@@ -537,8 +537,7 @@ out:
537 return ret; 537 return ret;
538} 538}
539 539
540static int __devinit 540static int icside_probe(struct expansion_card *ec, const struct ecard_id *id)
541icside_probe(struct expansion_card *ec, const struct ecard_id *id)
542{ 541{
543 struct icside_state *state; 542 struct icside_state *state;
544 void __iomem *idmem; 543 void __iomem *idmem;
@@ -604,7 +603,7 @@ icside_probe(struct expansion_card *ec, const struct ecard_id *id)
604 return ret; 603 return ret;
605} 604}
606 605
607static void __devexit icside_remove(struct expansion_card *ec) 606static void icside_remove(struct expansion_card *ec)
608{ 607{
609 struct icside_state *state = ecard_get_drvdata(ec); 608 struct icside_state *state = ecard_get_drvdata(ec);
610 609
@@ -666,7 +665,7 @@ static const struct ecard_id icside_ids[] = {
666 665
667static struct ecard_driver icside_driver = { 666static struct ecard_driver icside_driver = {
668 .probe = icside_probe, 667 .probe = icside_probe,
669 .remove = __devexit_p(icside_remove), 668 .remove = icside_remove,
670 .shutdown = icside_shutdown, 669 .shutdown = icside_shutdown,
671 .id_table = icside_ids, 670 .id_table = icside_ids,
672 .drv = { 671 .drv = {