commit | 5659e339473d87e424566e019487433269073338 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Sat Dec 15 12:19:46 2018 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Wed Jan 09 17:03:29 2019 +0100 |
tree | 582aa0f18c99cbbe9e45d2d1c4252b3e9ab12889 | |
parent | 3782a75b39a8c6a029abc373da6255361289d55a [diff] |
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: Peng Fan <peng.fan@nxp.com>