diff mbox series

[1/8] clk: mediatek export mtk_clk_simple_probe and mtk_clk_simple_remove

Message ID 20220523160053.1922-2-miles.chen@mediatek.com (mailing list archive)
State Superseded, archived
Headers show
Series [1/8] clk: mediatek export mtk_clk_simple_probe and mtk_clk_simple_remove | expand

Commit Message

Miles Chen May 23, 2022, 4 p.m. UTC
Export mtk_clk_simple_probe and mtk_clk_simple_remove because we need
them for MediaTek tristate clk drivers.

Signed-off-by: Miles Chen <miles.chen@mediatek.com>
---
 drivers/clk/mediatek/clk-mtk.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

AngeloGioacchino Del Regno May 23, 2022, 4:05 p.m. UTC | #1
Il 23/05/22 18:00, Miles Chen ha scritto:
> Export mtk_clk_simple_probe and mtk_clk_simple_remove because we need
> them for MediaTek tristate clk drivers.
> 
> Signed-off-by: Miles Chen <miles.chen@mediatek.com>

Hello Miles,

the changes in this patch are exactly the same as what I've pushed in my
MT6795 clocks series, so you should simply advertise a dependency on my
patch [6/7] for this series.

https://patchwork.kernel.org/project/linux-mediatek/patch/20220518111652.223727-7-angelogioacchino.delregno@collabora.com/

Regards,
Angelo
Miles Chen May 24, 2022, 5:28 a.m. UTC | #2
>> Export mtk_clk_simple_probe and mtk_clk_simple_remove because we need
>> them for MediaTek tristate clk drivers.
>> 
>> Signed-off-by: Miles Chen <miles.chen@mediatek.com>
>
>Hello Miles,
>
>the changes in this patch are exactly the same as what I've pushed in my
>MT6795 clocks series, so you should simply advertise a dependency on my
>patch [6/7] for this series.

hi Angelo,

No problem, I will add this to the coverletter and drop patch 1/8 in v2.

cheers,
Miles
>
>https://patchwork.kernel.org/project/linux-mediatek/patch/20220518111652.223727-7-angelogioacchino.delregno@collabora.com/
>
>Regards,
>Angelo
>
diff mbox series

Patch

diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c
index b9188000ab3c..3d587371d2b5 100644
--- a/drivers/clk/mediatek/clk-mtk.c
+++ b/drivers/clk/mediatek/clk-mtk.c
@@ -452,6 +452,7 @@  int mtk_clk_simple_probe(struct platform_device *pdev)
 	mtk_free_clk_data(clk_data);
 	return r;
 }
+EXPORT_SYMBOL_GPL(mtk_clk_simple_probe);
 
 int mtk_clk_simple_remove(struct platform_device *pdev)
 {
@@ -465,5 +466,6 @@  int mtk_clk_simple_remove(struct platform_device *pdev)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(mtk_clk_simple_remove);
 
 MODULE_LICENSE("GPL");