diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2025-03-27 12:52:14 +0000 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-05-06 14:50:01 -0700 |
commit | 7a0c1872ee7db25d711ac29a55f36844a7108308 (patch) | |
tree | 58c4d641a757269c036a2d5c2f7a53c7e3eb8010 /scripts/generate_rust_analyzer.py | |
parent | 6064cfaa1ac495af423653cc2749340e131af64d (diff) |
clk: test: Forward-declare struct of_phandle_args in kunit/clk.h
Add a forward-declare of struct of_phandle_args to prevent the compiler
warning:
../include/kunit/clk.h:29:63: warning: ‘struct of_phandle_args’ declared
inside parameter list will not be visible outside of this definition or
declaration
struct clk_hw *(*get)(struct of_phandle_args *clkspec, void *data),
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20250327125214.82598-1-rf@opensource.cirrus.com
Fixes: a82fcb16d977 ("clk: test: Add test managed of_clk_add_hw_provider()")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions