summaryrefslogtreecommitdiff
path: root/drivers/clk/imx/clk.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2025-03-23 16:58:46 +0100
committerFabio Estevam <festevam@gmail.com>2025-03-24 08:51:35 -0300
commit8c1024636fbbcf1b19836fac2776ec829f2a7519 (patch)
tree8c46109f1e3b30d275bb841c00c868835a26d5aa /drivers/clk/imx/clk.h
parentb4734c9c333b9dfdbafaf8c7d5b8500eb0c718c3 (diff)
clk: imx: Pass struct udevice into imx_clk_pllv3*()
Pass struct udevice * into imx_clk_pllv3*() functions, so the clock core would have access to parent struct udevice *. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/clk/imx/clk.h')
-rw-r--r--drivers/clk/imx/clk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h
index 1a814d9a386..4caf3b053d4 100644
--- a/drivers/clk/imx/clk.h
+++ b/drivers/clk/imx/clk.h
@@ -83,9 +83,9 @@ struct clk *clk_register_gate2(struct udevice *dev, const char *name,
void __iomem *reg, u8 bit_idx, u8 cgr_val,
u8 clk_gate_flags, unsigned int *share_count);
-struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,
- const char *parent_name, void __iomem *base,
- u32 div_mask);
+struct clk *imx_clk_pllv3(struct udevice *dev, enum imx_pllv3_type type,
+ const char *name, const char *parent_name,
+ void __iomem *base, u32 div_mask);
static inline struct clk *imx_clk_gate2(struct udevice *dev, const char *name,
const char *parent, void __iomem *reg,