Skip to content
Commit 224f7452 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

clk: imx8: fix build warning



When build clk driver in spl, met the warning:
"
drivers/clk/imx/clk-imx8.c:21:25: warning: ‘imx8_clk_names’ defined but not used [-Wunused-variable]
 static struct imx8_clks imx8_clk_names[] = {
                         ^~~~~~~~~~~~~~
"

Fix with wrapping the array with CONFIG_CMD_CLK.

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent d17b0bed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment