summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2025-03-23 16:58:36 +0100
committerFabio Estevam <festevam@gmail.com>2025-03-24 08:51:34 -0300
commitaee51ad0d945cf3ffbad143adb76aba40f66ecb7 (patch)
tree0d2de614dfdc3891e88bdd1819b0bf47444c0bad /include/linux
parent0a930930f88bed1f195fc8a4b5103df3263a41ce (diff)
clk: clk-gate: Use struct udevice instead of struct device
Use U-Boot specific struct udevice instead of Linux compatibility struct device in clk-gate registration. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/clk-provider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index f27878ae6fa..e282be12897 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -105,7 +105,7 @@ struct clk_gate {
#define CLK_GATE_HIWORD_MASK BIT(1)
extern const struct clk_ops clk_gate_ops;
-struct clk *clk_register_gate(struct device *dev, const char *name,
+struct clk *clk_register_gate(struct udevice *dev, const char *name,
const char *parent_name, unsigned long flags,
void __iomem *reg, u8 bit_idx,
u8 clk_gate_flags, spinlock_t *lock);