diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-20 08:58:25 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-20 08:58:25 -0400 |
commit | dc3cb0abf41191aad62a6537ce8734a4f5339888 (patch) | |
tree | 16bb7bb9f529012b9b86666ec6af722ab9c6bdf9 /include/clk.h | |
parent | 73ceadcd7280cb552119e24ca092d626b12626a6 (diff) | |
parent | 19fb40a5e7ee815a703ffdcc7c0fdb7933762256 (diff) | |
download | u-boot-dc3cb0abf41191aad62a6537ce8734a4f5339888.tar.gz |
Merge tag 'clk-2023.01' of https://source.denx.de/u-boot/custodians/u-boot-clk
Clock patches for 2023.01
This contains various fixes (some long overdue) for the next release.
Diffstat (limited to 'include/clk.h')
-rw-r--r-- | include/clk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clk.h b/include/clk.h index 407513e0fa..138766bd49 100644 --- a/include/clk.h +++ b/include/clk.h @@ -474,7 +474,7 @@ struct clk *clk_get_parent(struct clk *clk); * * Return: clock rate in Hz, or -ve error code. */ -long long clk_get_parent_rate(struct clk *clk); +ulong clk_get_parent_rate(struct clk *clk); /** * clk_round_rate() - Adjust a rate to the exact rate a clock can provide @@ -607,7 +607,7 @@ static inline struct clk *clk_get_parent(struct clk *clk) return ERR_PTR(-ENOSYS); } -static inline long long clk_get_parent_rate(struct clk *clk) +static inline ulong clk_get_parent_rate(struct clk *clk) { return -ENOSYS; } |