2021-09-01 23:37:24

by Miles Chen

[permalink] [raw]
Subject: [PATCH v3 1/3] clk: composite: export clk_register_composite

To support module build of mediatek clk drivers,
it is necessary to export clk_register_composite.

Cc: Stephen Boyd <[email protected]>
Cc: Hanks Chen <[email protected]>
Cc: Wendell Lin <[email protected]>
Cc: Lee Jones <[email protected]>
Signed-off-by: Miles Chen <[email protected]>
---
drivers/clk/clk-composite.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-composite.c b/drivers/clk/clk-composite.c
index 0506046a5f4b..c7b97fb0051b 100644
--- a/drivers/clk/clk-composite.c
+++ b/drivers/clk/clk-composite.c
@@ -362,6 +362,7 @@ struct clk *clk_register_composite(struct device *dev, const char *name,
return ERR_CAST(hw);
return hw->clk;
}
+EXPORT_SYMBOL_GPL(clk_register_composite);

struct clk *clk_register_composite_pdata(struct device *dev, const char *name,
const struct clk_parent_data *parent_data,
--
2.18.0


2021-09-15 01:25:55

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH v3 1/3] clk: composite: export clk_register_composite

Quoting Miles Chen (2021-09-01 15:25:24)
> To support module build of mediatek clk drivers,
> it is necessary to export clk_register_composite.
>
> Cc: Stephen Boyd <[email protected]>
> Cc: Hanks Chen <[email protected]>
> Cc: Wendell Lin <[email protected]>
> Cc: Lee Jones <[email protected]>
> Signed-off-by: Miles Chen <[email protected]>
> ---

Applied to clk-next