summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/clk-cpumux.h
diff options
context:
space:
mode:
authorChen-Yu Tsai <wenst@chromium.org>2022-02-08 15:40:11 +0300
committerStephen Boyd <sboyd@kernel.org>2022-02-17 23:12:22 +0300
commit02f0d762319c22dd7f97d9dd491d651189332279 (patch)
treeaef095549890d9127924c9115a77965efdce4e73 /drivers/clk/mediatek/clk-cpumux.h
parent759284426a22a1f66a175b56e6b79fa663b8f7d4 (diff)
downloadlinux-02f0d762319c22dd7f97d9dd491d651189332279.tar.xz
clk: mediatek: cpumux: Clean up included headers
Some headers with the declaration of functions and structures aren't directly included. Explicitly include them so that future changes to other headers would not result in an unexpected build break. On the header side, add forward declarations for any data structures whose pointers are used in function signatures. No headers are required. 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-9-wenst@chromium.org Reviewed-by: Chun-Jie Chen <chun-jie.chen@mediatek.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-cpumux.h')
-rw-r--r--drivers/clk/mediatek/clk-cpumux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/mediatek/clk-cpumux.h b/drivers/clk/mediatek/clk-cpumux.h
index a538f2bbef0d..b07e89f7c283 100644
--- a/drivers/clk/mediatek/clk-cpumux.h
+++ b/drivers/clk/mediatek/clk-cpumux.h
@@ -7,6 +7,10 @@
#ifndef __DRV_CLK_CPUMUX_H
#define __DRV_CLK_CPUMUX_H
+struct clk_onecell_data;
+struct device_node;
+struct mtk_composite;
+
int mtk_clk_register_cpumuxes(struct device_node *node,
const struct mtk_composite *clks, int num,
struct clk_onecell_data *clk_data);