clk: qcom: clk-rcg2: Declare the rcg struct in clk_gfx3d_src_determine_rate
Declare the rcg structure before referencing it in the function. Change-Id: Ife9fdabf20b242a93635532b9a0c4cacc8b88210 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
This commit is contained in:
parent
8ec8b328f3
commit
2fc007196f
1 changed files with 1 additions and 0 deletions
|
@ -870,6 +870,7 @@ EXPORT_SYMBOL_GPL(clk_gfx3d_ops);
|
|||
static int clk_gfx3d_src_determine_rate(struct clk_hw *hw,
|
||||
struct clk_rate_request *req)
|
||||
{
|
||||
struct clk_rcg2 *rcg = to_clk_rcg2(hw);
|
||||
struct clk_rate_request parent_req = { };
|
||||
struct clk_hw *p1, *p3, *xo, *curr_p;
|
||||
const struct freq_tbl *f;
|
||||
|
|
Loading…
Add table
Reference in a new issue