projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d306182
)
test: dm: clk_ccf: fix building error
author
Yang Xiwen
<forbidden405@outlook.com>
Fri, 15 Dec 2023 20:21:11 +0000
(
04:21
+0800)
committer
Sean Anderson
<seanga2@gmail.com>
Fri, 15 Dec 2023 20:30:12 +0000
(15:30 -0500)
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
test/dm/clk_ccf.c
patch
|
blob
|
history
diff --git
a/test/dm/clk_ccf.c
b/test/dm/clk_ccf.c
index 99481877a8f467f4be8cccecf3e99e0071c8f501..61dad8d85273e9547e52d19956cdaa7294375135 100644
(file)
--- a/
test/dm/clk_ccf.c
+++ b/
test/dm/clk_ccf.c
@@
-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