mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-04 20:26:13 +02:00
clk: imx: gate2: Use struct udevice instead of struct device
Use U-Boot specific struct udevice instead of Linux compatibility struct device in gate2 clock registration. Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
742e0205d1
commit
2eafd7a28e
@ -90,7 +90,7 @@ static const struct clk_ops clk_gate2_ops = {
|
||||
.get_rate = clk_generic_get_rate,
|
||||
};
|
||||
|
||||
struct clk *clk_register_gate2(struct device *dev, const char *name,
|
||||
struct clk *clk_register_gate2(struct udevice *dev, const char *name,
|
||||
const char *parent_name, unsigned long flags,
|
||||
void __iomem *reg, u8 bit_idx, u8 cgr_val,
|
||||
u8 clk_gate2_flags, unsigned int *share_count)
|
||||
|
||||
@ -78,7 +78,7 @@ struct clk *imx_clk_pll14xx(const char *name, const char *parent_name,
|
||||
void __iomem *base,
|
||||
const struct imx_pll14xx_clk *pll_clk);
|
||||
|
||||
struct clk *clk_register_gate2(struct device *dev, const char *name,
|
||||
struct clk *clk_register_gate2(struct udevice *dev, const char *name,
|
||||
const char *parent_name, unsigned long flags,
|
||||
void __iomem *reg, u8 bit_idx, u8 cgr_val,
|
||||
u8 clk_gate_flags, unsigned int *share_count);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user