clk: ti: dpll: fix incorrect #ifdef checks
authorArnd Bergmann <arnd@arndb.de>
Wed, 3 Apr 2024 08:06:29 +0000 (10:06 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 5 Apr 2024 21:13:22 +0000 (14:13 -0700)
commit4acfeecd0062821fe66a520635adf65c6db759c3
tree9d3d4050eb9efe406980be3c6ab18aaeda5b020f
parent0cd830ac3be548c920924baa84f782a763167460
clk: ti: dpll: fix incorrect #ifdef checks

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@arndb.de>
Link: https://lore.kernel.org/r/20240403080702.3509288-12-arnd@kernel.org
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/dpll.c