diff options
Diffstat (limited to 'drivers/ssb/main.c')
| -rw-r--r-- | drivers/ssb/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index c12a741b5574..85a20546e827 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c | |||
| @@ -440,6 +440,7 @@ static int ssb_devices_register(struct ssb_bus *bus) | |||
| 440 | break; | 440 | break; |
| 441 | case SSB_BUSTYPE_PCMCIA: | 441 | case SSB_BUSTYPE_PCMCIA: |
| 442 | #ifdef CONFIG_SSB_PCMCIAHOST | 442 | #ifdef CONFIG_SSB_PCMCIAHOST |
| 443 | sdev->irq = bus->host_pcmcia->irq.AssignedIRQ; | ||
| 443 | dev->parent = &bus->host_pcmcia->dev; | 444 | dev->parent = &bus->host_pcmcia->dev; |
| 444 | #endif | 445 | #endif |
| 445 | break; | 446 | break; |
| @@ -1147,7 +1148,10 @@ static int __init ssb_modinit(void) | |||
| 1147 | 1148 | ||
| 1148 | return err; | 1149 | return err; |
| 1149 | } | 1150 | } |
| 1150 | subsys_initcall(ssb_modinit); | 1151 | /* ssb must be initialized after PCI but before the ssb drivers. |
| 1152 | * That means we must use some initcall between subsys_initcall | ||
| 1153 | * and device_initcall. */ | ||
| 1154 | fs_initcall(ssb_modinit); | ||
| 1151 | 1155 | ||
| 1152 | static void __exit ssb_modexit(void) | 1156 | static void __exit ssb_modexit(void) |
| 1153 | { | 1157 | { |
