diff options
| author | Justin Chen <justin.chen@broadcom.com> | 2026-03-25 20:46:19 +0300 |
|---|---|---|
| committer | Florian Fainelli <florian.fainelli@broadcom.com> | 2026-05-06 22:35:53 +0300 |
| commit | 12c8e4fe4acd19aa4f85204d07529aef205f967b (patch) | |
| tree | 29fd1c1c99619c1d6b2c374aa59716a14a972e80 /include/linux | |
| parent | 254f49634ee16a731174d2ae34bc50bd5f45e731 (diff) | |
| download | linux-12c8e4fe4acd19aa4f85204d07529aef205f967b.tar.xz | |
soc: brcmstb: consolidate initcall functions
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@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20260325174619.3761964-1-justin.chen@broadcom.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
