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

From: Stephen Boyd
Date: Thu Dec 10 2020 - 15:26:31 EST


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@xxxxxxxxxx>
> ---

Applied to clk-next