LF-4521-02 soc: imx: Fix section mismatch build warning due to __init
Fix below section mismatch build warning: WARNING: modpost: vmlinux.o(.text+0x6b20b8): Section mismatch in reference from the function imx8_soc_info() to the function .init.text:imx8mq_noc_init() The function imx8_soc_info() references the function __init imx8mq_noc_init(). This is often because imx8_soc_info lacks a __init annotation or the annotation of imx8mq_noc_init is wrong. Signed-off-by:Jacky Bai <ping.bai@nxp.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com> Acked-by:
Jason Liu <jason.hui.liu@nxp.com>
Loading
Please register or sign in to comment