Revert "MIPS: BCM63XX: Call board_register_device from device_initcall()"
commit1762c5ab7ce5f482aafaf9b6a721e41f073ae3cb
authorJonas Gorski <jogo@openwrt.org>
Tue, 19 Mar 2013 13:20:19 +0000 (19 13:20 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Mar 2013 18:15:47 +0000 (19 19:15 +0100)
treea986a91e1049d9b2ddd82cb59e803c09b0b31774
parent97367519d7dac94de566796f034d5f72cbc671f7
Revert "MIPS: BCM63XX: Call board_register_device from device_initcall()"

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 d64ed7ada2f689d2c62af1892ca55e47d3653e36 [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>
arch/mips/bcm63xx/setup.c