[PATCH] soc: brcmstb: consolidate initcall functions
Florian Fainelli
florian.fainelli at broadcom.com
Wed Mar 25 14:54:55 PDT 2026
On 3/25/26 10:46, justin.chen at broadcom.com wrote:
> From: Justin Chen <justin.chen at broadcom.com>
>
> Merge the separate early_initcall and arch_initcall functions into a
> single early_initcall. This is possible thanks to commit 6e12db376b60
> ("base: soc: Allow early registration of a single SoC device"), which
> allows soc_device_register() to be called during early_initcall by
> deferring the actual registration until the soc_bus is ready.
>
> Replace static family_id/product_id variables with a dynamically
> allocated brcmstb_soc_info structure.
>
> Signed-off-by: Justin Chen <justin.chen at broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
Tested-by: Florian Fainelli <florian.fainelli at broadcom.com>
Will wait a couple of days before applying it to the Broadcom SoC tree.
Thanks!
--
Florian
More information about the linux-arm-kernel
mailing list