mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
test: dm: clk_ccf: fix building error
Fix unused variable error produced by building tests
Fixes: d3061824 (test: dm: clk_ccf: test ccf_clk_ops)
Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20231216-b4-fix_build-v1-1-b8e79c94744f@outlook.com
This commit is contained in:
committed by
Sean Anderson
parent
d306182439
commit
97d65b32d7
@@ -18,11 +18,12 @@
|
||||
/* Tests for Common Clock Framework driver */
|
||||
static int dm_test_clk_ccf(struct unit_test_state *uts)
|
||||
{
|
||||
struct clk *clk, *pclk, clk_ccf;
|
||||
struct clk *clk, *pclk;
|
||||
struct udevice *dev, *test_dev;
|
||||
long long rate;
|
||||
int ret;
|
||||
#if CONFIG_IS_ENABLED(CLK_CCF)
|
||||
struct clk clk_ccf;
|
||||
const char *clkname;
|
||||
int clkid, i;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user