Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <heiko@sntech.de>
Link: https://lore.kernel.org/r/20211027132616.1039814-3-heiko@sntech.de
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Heiko Stuebner and committed by
Stephen Boyd
9af0cbeb 000590a5

+2 -10
+2 -2
drivers/clk/rockchip/Kconfig
··· 80 80 Build the driver for RK3368 Clock Driver. 81 81 82 82 config CLK_RK3399 83 - tristate "Rockchip RK3399 clock controller support" 83 + bool "Rockchip RK3399 clock controller support" 84 84 depends on ARM64 || COMPILE_TEST 85 85 default y 86 86 help 87 87 Build the driver for RK3399 Clock Driver. 88 88 89 89 config CLK_RK3568 90 - tristate "Rockchip RK3568 clock controller support" 90 + bool "Rockchip RK3568 clock controller support" 91 91 depends on ARM64 || COMPILE_TEST 92 92 default y 93 93 help
-4
drivers/clk/rockchip/clk-rk3399.c
··· 1630 1630 }, 1631 1631 { } 1632 1632 }; 1633 - MODULE_DEVICE_TABLE(of, clk_rk3399_match_table); 1634 1633 1635 1634 static int __init clk_rk3399_probe(struct platform_device *pdev) 1636 1635 { ··· 1656 1657 }, 1657 1658 }; 1658 1659 builtin_platform_driver_probe(clk_rk3399_driver, clk_rk3399_probe); 1659 - 1660 - MODULE_DESCRIPTION("Rockchip RK3399 Clock Driver"); 1661 - MODULE_LICENSE("GPL");
-4
drivers/clk/rockchip/clk-rk3568.c
··· 1693 1693 }, 1694 1694 { } 1695 1695 }; 1696 - MODULE_DEVICE_TABLE(of, clk_rk3568_match_table); 1697 1696 1698 1697 static int __init clk_rk3568_probe(struct platform_device *pdev) 1699 1698 { ··· 1719 1720 }, 1720 1721 }; 1721 1722 builtin_platform_driver_probe(clk_rk3568_driver, clk_rk3568_probe); 1722 - 1723 - MODULE_DESCRIPTION("Rockchip RK3568 Clock Driver"); 1724 - MODULE_LICENSE("GPL");