[PATCH] firmware: imx: sm-misc: Make scmi_imx_misc_ctrl_nb variable static

Daniel Baluta daniel.baluta at gmail.com
Mon Feb 16 03:14:41 PST 2026


On Mon, Feb 16, 2026 at 10:23 AM Krzysztof Kozlowski
<krzysztof.kozlowski at oss.qualcomm.com> wrote:
>
> File-scope 'scmi_imx_misc_ctrl_nb' is not used outside of this unit, so
> make it static to silence sparse warning:
>
>   sm-misc.c:19:23: warning: symbol 'scmi_imx_misc_ctrl_nb' was not declared. Should it be static?
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>

Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>



More information about the linux-arm-kernel mailing list