aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rapidio')
-rw-r--r--drivers/rapidio/rio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c
index d520dbaede80..f861b728f80e 100644
--- a/drivers/rapidio/rio.c
+++ b/drivers/rapidio/rio.c
@@ -1134,8 +1134,6 @@ static int __devinit rio_init(void)
1134 return 0; 1134 return 0;
1135} 1135}
1136 1136
1137device_initcall(rio_init);
1138
1139int __devinit rio_init_mports(void) 1137int __devinit rio_init_mports(void)
1140{ 1138{
1141 int rc = 0; 1139 int rc = 0;
@@ -1158,10 +1156,14 @@ int __devinit rio_init_mports(void)
1158 rio_disc_mport(port); 1156 rio_disc_mport(port);
1159 } 1157 }
1160 1158
1159 rio_init();
1160
1161 out: 1161 out:
1162 return rc; 1162 return rc;
1163} 1163}
1164 1164
1165device_initcall_sync(rio_init_mports);
1166
1165void rio_register_mport(struct rio_mport *port) 1167void rio_register_mport(struct rio_mport *port)
1166{ 1168{
1167 list_add_tail(&port->node, &rio_mports); 1169 list_add_tail(&port->node, &rio_mports);