Skip to content

Commit 9af0cbe

Browse files
mmindbebarino
authored andcommitted
clk: rockchip: drop module parts from rk3399 and rk3568 drivers
Both of these drivers were converted to real drivers and got a tristate build option. But them being builtin_platform_drivers, they only ever should be build-in - as the name suggests. So adapt the Kconfig symbol and drop the MODULE_* parts from the drivers. Signed-off-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 000590a commit 9af0cbe

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

drivers/clk/rockchip/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ config CLK_RK3368
8080
Build the driver for RK3368 Clock Driver.
8181

8282
config CLK_RK3399
83-
tristate "Rockchip RK3399 clock controller support"
83+
bool "Rockchip RK3399 clock controller support"
8484
depends on ARM64 || COMPILE_TEST
8585
default y
8686
help
8787
Build the driver for RK3399 Clock Driver.
8888

8989
config CLK_RK3568
90-
tristate "Rockchip RK3568 clock controller support"
90+
bool "Rockchip RK3568 clock controller support"
9191
depends on ARM64 || COMPILE_TEST
9292
default y
9393
help

drivers/clk/rockchip/clk-rk3399.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,6 @@ static const struct of_device_id clk_rk3399_match_table[] = {
16301630
},
16311631
{ }
16321632
};
1633-
MODULE_DEVICE_TABLE(of, clk_rk3399_match_table);
16341633

16351634
static int __init clk_rk3399_probe(struct platform_device *pdev)
16361635
{
@@ -1657,6 +1656,3 @@ static struct platform_driver clk_rk3399_driver = {
16571656
},
16581657
};
16591658
builtin_platform_driver_probe(clk_rk3399_driver, clk_rk3399_probe);
1660-
1661-
MODULE_DESCRIPTION("Rockchip RK3399 Clock Driver");
1662-
MODULE_LICENSE("GPL");

drivers/clk/rockchip/clk-rk3568.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,6 @@ static const struct of_device_id clk_rk3568_match_table[] = {
16931693
},
16941694
{ }
16951695
};
1696-
MODULE_DEVICE_TABLE(of, clk_rk3568_match_table);
16971696

16981697
static int __init clk_rk3568_probe(struct platform_device *pdev)
16991698
{
@@ -1720,6 +1719,3 @@ static struct platform_driver clk_rk3568_driver = {
17201719
},
17211720
};
17221721
builtin_platform_driver_probe(clk_rk3568_driver, clk_rk3568_probe);
1723-
1724-
MODULE_DESCRIPTION("Rockchip RK3568 Clock Driver");
1725-
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)