[Top] [All Lists]

[PATCH] Revert "MIPS: BCM63XX: Call board_register_device from device_in

Subject: [PATCH] Revert "MIPS: BCM63XX: Call board_register_device from device_initcall()"
From: Jonas Gorski <>
Date: Tue, 19 Mar 2013 15:20:19 +0100
Cc: Ralf Baechle <>, John Crispin <>, Maxime Bizon <>, Florian Fainelli <>, Kevin Cernekee <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
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.

Signed-off-by: Jonas Gorski <>

This patch is in OpenWrt since ages, and we never encountered any issues
from this revert.

 arch/mips/bcm63xx/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/bcm63xx/setup.c b/arch/mips/bcm63xx/setup.c
index 314231b..35e18e9 100644
--- a/arch/mips/bcm63xx/setup.c
+++ b/arch/mips/bcm63xx/setup.c
@@ -157,4 +157,4 @@ int __init bcm63xx_register_devices(void)
        return board_register_devices();

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Revert "MIPS: BCM63XX: Call board_register_device from device_initcall()", Jonas Gorski <=