[openwrt/openwrt] mediatek: fix build of MT7988 clk drivers on Linux 6.6
LEDE Commits
lede-commits at lists.infradead.org
Mon Mar 11 14:24:04 PDT 2024
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3043bd2621a190add88fd51e5b0d7f50e0157a90
commit 3043bd2621a190add88fd51e5b0d7f50e0157a90
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Mar 2 04:24:15 2024 +0000
mediatek: fix build of MT7988 clk drivers on Linux 6.6
As shared remove functions now returns void instead of int we need to
use .remove_new instead of .remove.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
.../249-v6.8-clk-mediatek-add-drivers-for-MT7988-SoC.patch | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/linux/mediatek/patches-6.6/249-v6.8-clk-mediatek-add-drivers-for-MT7988-SoC.patch b/target/linux/mediatek/patches-6.6/249-v6.8-clk-mediatek-add-drivers-for-MT7988-SoC.patch
index dab08a5a39..6ec9bd2101 100644
--- a/target/linux/mediatek/patches-6.6/249-v6.8-clk-mediatek-add-drivers-for-MT7988-SoC.patch
+++ b/target/linux/mediatek/patches-6.6/249-v6.8-clk-mediatek-add-drivers-for-MT7988-SoC.patch
@@ -327,7 +327,7 @@ Signed-off-by: Stephen Boyd <sboyd at kernel.org>
+ .of_match_table = of_match_clk_mt7988_eth,
+ },
+ .probe = mtk_clk_simple_probe,
-+ .remove = mtk_clk_simple_remove,
++ .remove_new = mtk_clk_simple_remove,
+};
+module_platform_driver(clk_mt7988_eth_drv);
+
@@ -607,7 +607,7 @@ Signed-off-by: Stephen Boyd <sboyd at kernel.org>
+ .of_match_table = of_match_clk_mt7988_infracfg,
+ },
+ .probe = mtk_clk_simple_probe,
-+ .remove = mtk_clk_simple_remove,
++ .remove_new = mtk_clk_simple_remove,
+};
+module_platform_driver(clk_mt7988_infracfg_drv);
+MODULE_LICENSE("GPL");
@@ -931,7 +931,7 @@ Signed-off-by: Stephen Boyd <sboyd at kernel.org>
+
+static struct platform_driver clk_mt7988_topckgen_drv = {
+ .probe = mtk_clk_simple_probe,
-+ .remove = mtk_clk_simple_remove,
++ .remove_new = mtk_clk_simple_remove,
+ .driver = {
+ .name = "clk-mt7988-topckgen",
+ .of_match_table = of_match_clk_mt7988_topckgen,
@@ -1018,7 +1018,7 @@ Signed-off-by: Stephen Boyd <sboyd at kernel.org>
+ .of_match_table = of_match_clk_mt7988_xfipll,
+ },
+ .probe = clk_mt7988_xfipll_probe,
-+ .remove = mtk_clk_simple_remove,
++ .remove_new = mtk_clk_simple_remove,
+};
+module_platform_driver(clk_mt7988_xfipll_drv);
+
More information about the lede-commits
mailing list