clk: rockchip: use module_platform_driver_probe
Subsystems (3)
PATCH v2 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.
Fixes 70d839e2761d ("clk: rockchip: rk3399: Support module build")
Fixes cf911d89c4c5 ("clk: rockchip: add clock controller for rk3568")
Cc Heiko Stuebner <[email protected]>
Cc Stephen Boyd <[email protected]>
Tested-by Heiko Stuebner <[email protected]>
Reviewed-by Heiko Stuebner <[email protected]>
Signed-off-by Miles Chen <[email protected]>
---
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(-)
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
Quoting Miles Chen (2021-09-04 08:28:56)
Quoted 11 lines
Replace
builtin_platform_driver_probewithmodule_platform_driver_probebecause 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 <[email protected]>Cc Stephen Boyd <[email protected]>Tested-by Heiko Stuebner <[email protected]>Reviewed-by Heiko Stuebner <[email protected]>Signed-off-by Miles Chen <[email protected]>
Quoted 1 line
---
Reviewed-by Stephen Boyd <[email protected]>
Quoted 2 lines · Miles Chen
Replace
builtin_platform_driver_probewithmodule_platform_driver_probebecause 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,
Signature · 1 line
Heiko Stuebner <[email protected]>