aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2018-01-12 21:08:15 +0000
committerArnd Bergmann <[email protected]>2018-01-15 14:47:07 +0000
commitc5b40c315a8671da99b35ace2484d6fa11a18ab9 (patch)
tree9a46689c9e8ef4cdee2b518d0c1460d4d80e5aab /scripts/gcc-plugins
parentsoc: brcmstb: biuctrl: exit without warning on non brcmstb platforms (diff)
downloadkernel-c5b40c315a8671da99b35ace2484d6fa11a18ab9.tar.gz
kernel-c5b40c315a8671da99b35ace2484d6fa11a18ab9.zip
soc: bcm: brcmstb: Be multi-platform compatible
We were making a bunch of wrong assumptions that turned out to blow out on non-Broadcom STB platforms: - we would return -ENODEV from brcmstb_soc_device_early_init() if we could not find the sun_top_ctrl device node, this is not an error in the context of a multi-platform kernel - we would still try to register the Broadcom STB SoC device, even if we are not running on such a platform While at it, also fix the sun_top_ctrl device_node leaks while we change the flow of brcmstb_soc_device_init() and brcmstb_soc_device_early_init(). Fixes: f780429adfbc ("soc: brcmstb: biuctrl: Move to early_initcall") Signed-off-by: Thierry Reding <[email protected]> [florian: Combine all of Thierry's patch in one go for easier review] Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions