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

From: Daniel Baluta

Date: Mon Feb 16 2026 - 06:13:21 EST


On Mon, Feb 16, 2026 at 10:23 AM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx>

Reviewed-by: Daniel Baluta <daniel.baluta@xxxxxxx>