Commit 7a0c1872 authored by Richard Fitzgerald's avatar Richard Fitzgerald Committed by Stephen Boyd
Browse files

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: default avatarRichard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20250327125214.82598-1-rf@opensource.cirrus.com


Fixes: a82fcb16 ("clk: test: Add test managed of_clk_add_hw_provider()")
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 6064cfaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment