Skip to content

Commit

Permalink
Revert "MIPS: BCM63XX: Call board_register_device from device_initcal…
Browse files Browse the repository at this point in the history
…l()"

This commit causes a race between PCI scan and SSB fallback SPROM handler
registration, causing the wifi to not work on slower systems. The only
subsystem touched from board_register_devices is platform device
registration, which is safe as an arch init call.

This reverts commit d64ed7a [MIPS:
BCM63XX: Call board_register_device from device_initcall()].

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
To: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Jonas Gorski authored and Ralf Baechle committed Mar 19, 2013
1 parent 9736751 commit 1762c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/bcm63xx/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ int __init bcm63xx_register_devices(void)
return board_register_devices();
}

device_initcall(bcm63xx_register_devices);
arch_initcall(bcm63xx_register_devices);

0 comments on commit 1762c5a

Please sign in to comment.