[PATCH 8/8] clk: scpi: mark scpi_clk_match as maybe unused
Sudeep Holla
sudeep.holla at arm.com
Wed Nov 4 04:00:16 EST 2020
On Tue, Nov 03, 2020 at 05:24:35PM +0100, Krzysztof Kozlowski wrote:
> 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=]
>
Acked-by: Sudeep Holla <sudeep.holla at arm.com>
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list