diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-04-03 11:06:29 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-04-06 00:13:22 +0300 |
commit | 4acfeecd0062821fe66a520635adf65c6db759c3 (patch) | |
tree | 9d3d4050eb9efe406980be3c6ab18aaeda5b020f /drivers/clk/clk-highbank.c | |
parent | 0cd830ac3be548c920924baa84f782a763167460 (diff) | |
download | linux-4acfeecd0062821fe66a520635adf65c6db759c3.tar.xz |
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>
Diffstat (limited to 'drivers/clk/clk-highbank.c')
0 files changed, 0 insertions, 0 deletions