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

2020-12-10 Thread Stephen Boyd
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=] > > Si

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

2020-11-04 Thread Sudeep Holla
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-

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

2020-11-03 Thread Krzysztof Kozlowski
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 --- drivers/clk/clk-scpi.c |