Thread (101 messages) 101 messages, 2 authors, 2023-02-20

Re: [PATCH v2 36/47] clk: mediatek: mt2712: Change Kconfig options to allow module build

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date: 2023-02-17 11:25:48
Also in: linux-clk, linux-mediatek, lkml

Il 17/02/23 05:24, Chen-Yu Tsai ha scritto:
On Tue, Feb 14, 2023 at 9:42 PM AngeloGioacchino Del Regno
[off-list ref] wrote:
quoted
All of the mt2712 drivers have been converted to platform drivers!
Change the Kconfig options for all MT2712 clocks to tristate to allow
building all clock drivers as modules.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
  drivers/clk/mediatek/Kconfig | 16 ++++++++--------
  1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig
index b9c0a9e21cf1..45b7aea7648d 100644
--- a/drivers/clk/mediatek/Kconfig
+++ b/drivers/clk/mediatek/Kconfig
@@ -75,7 +75,7 @@ config COMMON_CLK_MT2701_G3DSYS
           This driver supports MediaTek MT2701 g3dsys clocks.

  config COMMON_CLK_MT2712
-       bool "Clock driver for MediaTek MT2712"
+       tristate "Clock driver for MediaTek MT2712"
Hmm... How does that work out if mt2712-apmixedsys is a
builtin_platform_driver?

ChenYu
That doesn't. Thanks for catching that, I've added a .remove() callback
and changed it to module_platform_driver() for v3!

Cheers,
Angelo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help