[PATCH 8/8] clk: scpi: mark scpi_clk_match as maybe unused

Stephen Boyd sboyd at kernel.org
Thu Dec 10 15:24:44 EST 2020


Quoting Krzysztof Kozlowski (2020-11-03 08:24:35)
> The scpi_clk_match (struct of_device_id) is referenced only with
> CONFIG_OF builds thus mark it as __maybe_unused:
> 
>     drivers/clk/clk-scpi.c:132:34: warning:
>         ‘scpi_clk_match’ defined but not used [-Wunused-const-variable=]
> 
> Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list