Message ID | 20210105174440.120041-1-krzk@kernel.org |
---|---|
State | New |
Headers | show |
Series | soc: samsung: exynos-chipid: correct helpers __init annotation | expand |
On Tue, 5 Jan 2021 18:44:40 +0100, Krzysztof Kozlowski wrote: > After converting to builtin driver, the probe function should not call > __init functions anymore: > > >> 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, -- Krzysztof Kozlowski <krzk@kernel.org>
diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index fa6a9b9f6d70..5c1d0f97f766 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -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;