]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: cpumux: Internalize struct mtk_clk_cpumux
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 8 Feb 2022 12:40:10 +0000 (20:40 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 17 Feb 2022 20:12:22 +0000 (12:12 -0800)
commitc3468a7f93f0d85563293a0ae8ff37cb029c4c02
tree2db6126ae8dcb33b958ba4c1f6f4956a0da50074
parent702a40c6cb39c4e43c524ab4c4714b63d0d46e8f
clk: mediatek: cpumux: Internalize struct mtk_clk_cpumux

struct mtk_clk_cpumux is an implementation detail of the cpumux clk
type, and is not used outside of the implementation.

Internalize the definition to minimize leakage of details and shrink
the header file.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220208124034.414635-8-wenst@chromium.org
Reviewed-by: Chun-Jie Chen <chun-jie.chen@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-cpumux.c
drivers/clk/mediatek/clk-cpumux.h