[PATCH v2 12/31] clk: mediatek: pll: Split definitions into separate header file
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Feb 3 01:50:35 PST 2022
Il 02/02/22 14:48, Chen-Yu Tsai ha scritto:
> When the PLL type clk was implemented in the MediaTek clk driver
> library, the data structure definitions and function declaration
> were put in the common header file.
>
> Since it is its own type of clk, and not all platform clk drivers
> utilize it, having the definitions in the common header results
> in wasted cycles during compilation.
>
> Split out the related definitions and declarations into its own
> header file, and include that only in the platform clk drivers that
> need it.
>
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
> Reviewed-by: Miles Chen <miles.chen at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list