mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-04 20:26:13 +02:00
clk: clk-composite: Use struct udevice instead of struct device
Use U-Boot specific struct udevice instead of Linux compatibility struct device in clk-composite registration. Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
86bde56bcc
commit
45c6b6a850
@ -97,7 +97,7 @@ static int clk_composite_disable(struct clk *clk)
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct clk *clk_register_composite(struct device *dev, const char *name,
|
||||
struct clk *clk_register_composite(struct udevice *dev, const char *name,
|
||||
const char * const *parent_names,
|
||||
int num_parents, struct clk *mux,
|
||||
const struct clk_ops *mux_ops,
|
||||
|
||||
@ -223,7 +223,7 @@ struct clk_composite {
|
||||
|
||||
#define to_clk_composite(_clk) container_of(_clk, struct clk_composite, clk)
|
||||
|
||||
struct clk *clk_register_composite(struct device *dev, const char *name,
|
||||
struct clk *clk_register_composite(struct udevice *dev, const char *name,
|
||||
const char * const *parent_names, int num_parents,
|
||||
struct clk *mux_clk, const struct clk_ops *mux_ops,
|
||||
struct clk *rate_clk, const struct clk_ops *rate_ops,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user