Re: [PATCH 11/34] clk: ti: dpll: fix incorrect #ifdef checks
From: Stephen Boyd
Date: Fri Apr 05 2024 - 17:14:05 EST
Quoting Arnd Bergmann (2024-04-03 01:06:29)
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Building with W=1 shows warnings about unused const variables like this one:
>
> drivers/clk/ti/dpll.c:99:29: error: unused variable 'omap3_dpll_core_ck_ops' [-Werror,-Wunused-const-variable]
> static const struct clk_ops omap3_dpll_core_ck_ops = {};
>
> The problem is that the #ifdef checks for some of the structures in this
> file have gone out of sync with the code referencing them. Update these
> to match the current usage.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
Applied to clk-next