diff options
| author | Peter Korsgaard <[email protected]> | 2026-01-19 10:54:37 +0100 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2026-02-10 09:27:48 +0100 |
| commit | 6d865c1ee61621e1fc91bc29764c39b7730b57f1 (patch) | |
| tree | 763300377a52bab5d71e41cbe02fa136dd733246 /include/linux/stringify.h | |
| parent | 00ea1fc21a937bde2b370699fdf45e74657e4417 (diff) | |
drivers/clk/clk_zynqmp.c: get rid of compiler warning for !CONFIG_CMD_CLK builds
When built without CONFIG_CMD_CLK, we get a warning about the unused
clk_names variable:
../drivers/clk/clk_zynqmp.c:153:27: warning: ‘clk_names’ defined but not used [-Wunused-const-variable=]
153 | static const char * const clk_names[clk_max] = {
So also guard it with CONFIG_CMD_CLK to get rid of that.
Signed-off-by: Peter Korsgaard <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
