soc: samsung: exynos-chipid: correct helpers __init annotation
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 5 Jan 2021 17:44:40 +0000 (18:44 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Fri, 8 Jan 2021 17:10:33 +0000 (18:10 +0100)
commit6166174afc2bc74ca550af388508384b57d5163d
tree478a8f1c0a2a32c02f0b18bb0fe44fb2d4ca8452
parent352bfbb3e0230c96b2bce00d2ac3f0de303cc7b6
soc: samsung: exynos-chipid: correct helpers __init annotation

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()

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 352bfbb3e023 ("soc: samsung: exynos-chipid: convert to driver and merge exynos-asv")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20210105174440.120041-1-krzk@kernel.org
drivers/soc/samsung/exynos-chipid.c