soc: samsung: exynos-chipid: correct helpers __init annotation
Krzysztof Kozlowski
maintainerPATCH 1/1 soc: samsung: exynos-chipid: correct helpers __init annotation
After converting to builtin driver, the probe function should not call __init functions anymore:
Quoted 1 line
Quoted 1 line
WARNING: modpost:
vmlinux.o(.text+0x8884d4):
Section mismatch in reference from the function exynos_chipid_probe() to the function .init.text:product_id_to_soc_id()
--- drivers/soc/samsung/exynos-chipid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/samsung/exynos-chipid.c +1 -1
@@ -44,7 +44,7 @@ static const struct exynos_soc_id { { "EXYNOS7420", 0xE7420000 }, }; -static const char *__init product_id_to_soc_id (unsigned int product_id) +static const char *product_id_to_soc_id (unsigned int product_id) {int i;
Signature · 1 line
2.25.1
Re: (subset) [PATCH] soc: samsung: exynos-chipid: correct helpers __init annotation
Quoted 5 lines · Krzysztof Kozlowski
After converting to builtin driver, the probe function should not call
__initfunctions anymore:Quoted 1 line
Quoted 1 line
WARNING: modpost:
vmlinux.o(.text+0x8884d4):Section mismatch in reference from the function
exynos_chipid_probe()to the function .init.text:product_id_to_soc_id()
Applied, thanks!
[1/1] soc: samsung: exynos-chipid: correct helpers __init annotation
commit: 6166174afc2bc74ca550af388508384b57d5163d
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>