clk: rockchip: use module_platform_driver_probe
Subsystems (3)
PATCH 1/1 clk: rockchip: use module_platform_driver_probe
Replace builtin_platform_driver_probe with module_platform_driver_probe because that rk3399 and rk3568 can be built as kernel modules.
--- drivers/clk/rockchip/clk-rk3399.c | 2 +- drivers/clk/rockchip/clk-rk3568.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/clk/rockchip/clk-rk3399.c +1 -1
@@ -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" );
drivers/clk/rockchip/clk-rk3568.c +1 -1
@@ -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" );
Signature · 1 line
2.18.0
Stephen Boyd
maintainerQuoting Miles Chen (2021-09-02 00:57:13)
Quoted 5 lines
Replace
builtin_platform_driver_probewithmodule_platform_driver_probebecause that rk3399 and rk3568 can be built as kernel modules.Cc Stephen Boyd <[email protected]>Signed-off-by Miles Chen <[email protected]>
Should it have a fixes tag?
Am Donnerstag, 2. September 2021, 09:57:13 CEST schrieb Miles Chen:
Quoted 5 lines
Replace
builtin_platform_driver_probewithmodule_platform_driver_probebecause that rk3399 and rk3568 can be built as kernel modules.Cc Stephen Boyd <[email protected]>Signed-off-by Miles Chen <[email protected]>
on both rk3399 and rk3568:
and also
Heiko
Quoted 32 lines
--- drivers/clk/rockchip/clk-rk3399.c | 2 +- drivers/clk/rockchip/clk-rk3568.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/clk/rockchip/clk-rk3399.c +1
-1@@ -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" );drivers/clk/rockchip/clk-rk3568.c +1
-1@@ -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" );
Quoted 9 lines · Stephen Boyd
Quoting Miles Chen (2021-09-02 00:57:13)
Quoted 6 lines
Replace
builtin_platform_driver_probewithmodule_platform_driver_probe
because that rk3399 and rk3568 can be built as kernel modules.Cc Stephen Boyd <[email protected]>Signed-off-by Miles Chen <[email protected]>Should it have a fixes tag?
ok, I will add a fixes tags in the next patch.
Quoted 5 lines · Heiko Stübner
Am Donnerstag, 2. September 2021, 09:57:13 CEST schrieb Miles Chen:
Quoted 4 lines
Replace
builtin_platform_driver_probewithmodule_platform_driver_probe
because that rk3399 and rk3568 can be built as kernel modules.
Quoted 9 lines
Quoted 2 lines
Cc Stephen Boyd <[email protected]>Signed-off-by Miles Chen <[email protected]>on both rk3399 and rk3568:
Tested-by Heiko Stuebner <[email protected]>and also
Reviewed-by Heiko Stuebner <[email protected]>
thanks for doing the test. I will add your tags in my next patch.
Quoted 45 lines
Heiko
Quoted 38 lines
--- drivers/clk/rockchip/clk-rk3399.c | 2 +- drivers/clk/rockchip/clk-rk3568.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/clk/rockchip/clk-rk3399.c +1
-1@@ -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");drivers/clk/rockchip/clk-rk3568.c +1
-1@@ -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");