linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] clk: rockchip: use module_platform_driver_probe
@ 2021-09-04 15:28 Miles Chen
  2021-09-05 20:44 ` Stephen Boyd
  2021-09-20 14:28 ` Heiko Stuebner
  0 siblings, 2 replies; 3+ messages in thread
From: Miles Chen @ 2021-09-04 15:28 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Heiko Stuebner
  Cc: linux-clk, linux-arm-kernel, linux-rockchip, linux-kernel,
	linux-mediatek, wsd_upstream, Miles Chen

Replace builtin_platform_driver_probe with module_platform_driver_probe
because that rk3399 and rk3568 can be built as kernel modules.

Fixes: 70d839e2761d ("clk: rockchip: rk3399: Support module build")
Fixes: cf911d89c4c5 ("clk: rockchip: add clock controller for rk3568")
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Stephen Boyd <sboyd@kernel.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Miles Chen <miles.chen@mediatek.com>

---

Change since v1:
Add Fixes tags

---
 drivers/clk/rockchip/clk-rk3399.c | 2 +-
 drivers/clk/rockchip/clk-rk3568.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c
index 62a4f2543960..a5169156f1d2 100644
--- a/drivers/clk/rockchip/clk-rk3399.c
+++ b/drivers/clk/rockchip/clk-rk3399.c
@@ -1653,7 +1653,7 @@ static struct platform_driver clk_rk3399_driver = {
 		.suppress_bind_attrs = true,
 	},
 };
-builtin_platform_driver_probe(clk_rk3399_driver, clk_rk3399_probe);
+module_platform_driver_probe(clk_rk3399_driver, clk_rk3399_probe);
 
 MODULE_DESCRIPTION("Rockchip RK3399 Clock Driver");
 MODULE_LICENSE("GPL");
diff --git a/drivers/clk/rockchip/clk-rk3568.c b/drivers/clk/rockchip/clk-rk3568.c
index 75ca855e720d..939e7079c334 100644
--- a/drivers/clk/rockchip/clk-rk3568.c
+++ b/drivers/clk/rockchip/clk-rk3568.c
@@ -1719,7 +1719,7 @@ static struct platform_driver clk_rk3568_driver = {
 		.suppress_bind_attrs = true,
 	},
 };
-builtin_platform_driver_probe(clk_rk3568_driver, clk_rk3568_probe);
+module_platform_driver_probe(clk_rk3568_driver, clk_rk3568_probe);
 
 MODULE_DESCRIPTION("Rockchip RK3568 Clock Driver");
 MODULE_LICENSE("GPL");
-- 
2.18.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] clk: rockchip: use module_platform_driver_probe
  2021-09-04 15:28 [PATCH v2] clk: rockchip: use module_platform_driver_probe Miles Chen
@ 2021-09-05 20:44 ` Stephen Boyd
  2021-09-20 14:28 ` Heiko Stuebner
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2021-09-05 20:44 UTC (permalink / raw)
  To: Heiko Stuebner, Michael Turquette, Miles Chen
  Cc: linux-clk, linux-arm-kernel, linux-rockchip, linux-kernel,
	linux-mediatek, wsd_upstream, Miles Chen

Quoting Miles Chen (2021-09-04 08:28:56)
> Replace builtin_platform_driver_probe with module_platform_driver_probe
> because that rk3399 and rk3568 can be built as kernel modules.
> 
> Fixes: 70d839e2761d ("clk: rockchip: rk3399: Support module build")
> Fixes: cf911d89c4c5 ("clk: rockchip: add clock controller for rk3568")
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: Stephen Boyd <sboyd@kernel.org>
> Tested-by: Heiko Stuebner <heiko@sntech.de>
> Reviewed-by: Heiko Stuebner <heiko@sntech.de>
> Signed-off-by: Miles Chen <miles.chen@mediatek.com>
> 
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] clk: rockchip: use module_platform_driver_probe
  2021-09-04 15:28 [PATCH v2] clk: rockchip: use module_platform_driver_probe Miles Chen
  2021-09-05 20:44 ` Stephen Boyd
@ 2021-09-20 14:28 ` Heiko Stuebner
  1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2021-09-20 14:28 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette, Miles Chen
  Cc: Heiko Stuebner, linux-rockchip, linux-arm-kernel, linux-mediatek,
	linux-clk, wsd_upstream, linux-kernel

On Sat, 4 Sep 2021 23:28:56 +0800, Miles Chen wrote:
> Replace builtin_platform_driver_probe with module_platform_driver_probe
> because that rk3399 and rk3568 can be built as kernel modules.

Applied, thanks!

[1/1] clk: rockchip: use module_platform_driver_probe
      commit: bb232c4c2a4bcab2ceff494a6d3b0869601f06d1

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-20 14:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-04 15:28 [PATCH v2] clk: rockchip: use module_platform_driver_probe Miles Chen
2021-09-05 20:44 ` Stephen Boyd
2021-09-20 14:28 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).