[PATCH 1/2] clk: mediatek: remove redundant forward declarations

David Lechner dlechner at baylibre.com
Fri Apr 10 18:07:05 CEST 2026


On 4/9/26 9:12 PM, Weijie Gao wrote:
> From: Sam Shih <sam.shih at mediatek.com>
> 
> 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.
> 

> Fixes: 00d0ff7f81bf ("clk: mediatek: refactor parent rate lookup functions")

Since this is just redundant and didn't actually break anything, the
Fixes: tag is not appropriate. We can remove it.


It is also helpful to include a cover letter when sending multiple
patches.


More information about the U-Boot mailing list