clk: scpi: mark scpi_clk_match as maybe unused
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 3 Nov 2020 16:24:35 +0000 (17:24 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 10 Dec 2020 20:24:40 +0000 (12:24 -0800)
commit975d25cbb505e92644de2e603965bb5e17215012
tree2f1d2be023c0571be10eb33b1d1ca34c4f94b975
parent967069aa4de65fc525c67b4b7b72b6ded6bd92a0
clk: scpi: mark scpi_clk_match as maybe unused

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@kernel.org>
Link: https://lore.kernel.org/r/20201103162435.13689-8-krzk@kernel.org
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-scpi.c