mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
clk: mediatek: remove redundant forward declarations
The clk_ops structures (mtk_clk_apmixedsys_ops, mtk_clk_topckgen_ops, mtk_clk_infrasys_ops) are already declared with extern in clk-mtk.h, which is included by this file. The forward declarations in clk-mtk.c are therefore redundant and can be removed. Signed-off-by: Sam Shih <sam.shih@mediatek.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com> Link: https://patch.msgid.link/e9c95470374cb78254dacfe1d657a26f2f908981.1776326933.git.weijie.gao@mediatek.com Signed-off-by: David Lechner <dlechner@baylibre.com>
This commit is contained in:
parent
374cb8a288
commit
21cb317a1b
@ -204,10 +204,6 @@ static ulong mtk_clk_find_parent_rate(struct clk *clk, int id,
|
||||
return clk_get_rate(&parent);
|
||||
}
|
||||
|
||||
const struct clk_ops mtk_clk_apmixedsys_ops;
|
||||
const struct clk_ops mtk_clk_topckgen_ops;
|
||||
const struct clk_ops mtk_clk_infrasys_ops;
|
||||
|
||||
static ulong mtk_find_parent_rate(struct mtk_clk_priv *priv, struct clk *clk,
|
||||
const int parent, u16 flags)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user