aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ssb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ssb')
-rw-r--r--drivers/ssb/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c
index 65a1ed951a1d..8d16cb258ccf 100644
--- a/drivers/ssb/main.c
+++ b/drivers/ssb/main.c
@@ -1358,8 +1358,10 @@ static int __init ssb_modinit(void)
1358 ssb_buses_lock(); 1358 ssb_buses_lock();
1359 err = ssb_attach_queued_buses(); 1359 err = ssb_attach_queued_buses();
1360 ssb_buses_unlock(); 1360 ssb_buses_unlock();
1361 if (err) 1361 if (err) {
1362 bus_unregister(&ssb_bustype); 1362 bus_unregister(&ssb_bustype);
1363 goto out;
1364 }
1363 1365
1364 err = b43_pci_ssb_bridge_init(); 1366 err = b43_pci_ssb_bridge_init();
1365 if (err) { 1367 if (err) {
@@ -1375,7 +1377,7 @@ static int __init ssb_modinit(void)
1375 /* don't fail SSB init because of this */ 1377 /* don't fail SSB init because of this */
1376 err = 0; 1378 err = 0;
1377 } 1379 }
1378 1380out:
1379 return err; 1381 return err;
1380} 1382}
1381/* ssb must be initialized after PCI but before the ssb drivers. 1383/* ssb must be initialized after PCI but before the ssb drivers.