BACKPORT: clk: mediatek: Add MODULE_LICENSE() where missing

In order to successfully build clock drivers as modules it is required
to declare a module license: add it where missing.
While at it, also change the MODULE_LICENSE text from "GPL v2" to
"GPL" (which means the same) on clk-mt7981-eth.c.

Bug: 335112842
(cherry picked from commit a451da86cf
 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ master)
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Miles Chen <miles.chen@mediatek.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org> # MT8183, MT8192, MT8195 Chromebooks
Link: https://lore.kernel.org/r/20230306140543.1813621-38-angelogioacchino.delregno@collabora.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Change-Id: Id78b0caa4520350049ae6162481c381eb3309897
This commit is contained in:
AngeloGioacchino Del Regno
2023-03-06 15:05:26 +01:00
committed by Todd Kjos
parent 4bfe25d0b6
commit a5ce14670a
95 changed files with 183 additions and 152 deletions

View File

@@ -158,5 +158,5 @@ static struct platform_driver clk_mt2701_aud_drv = {
.of_match_table = of_match_clk_mt2701_aud,
},
};
builtin_platform_driver(clk_mt2701_aud_drv);
module_platform_driver(clk_mt2701_aud_drv);
MODULE_LICENSE("GPL");

View File

@@ -104,5 +104,5 @@ static struct platform_driver clk_mt2701_bdp_drv = {
.of_match_table = of_match_clk_mt2701_bdp,
},
};
builtin_platform_driver(clk_mt2701_bdp_drv);
module_platform_driver(clk_mt2701_bdp_drv);
MODULE_LICENSE("GPL");

View File

@@ -72,5 +72,5 @@ static struct platform_driver clk_mt2701_eth_drv = {
.of_match_table = of_match_clk_mt2701_eth,
},
};
builtin_platform_driver(clk_mt2701_eth_drv);
module_platform_driver(clk_mt2701_eth_drv);
MODULE_LICENSE("GPL");

View File

@@ -93,5 +93,5 @@ static struct platform_driver clk_mt2701_g3d_drv = {
.of_match_table = of_match_clk_mt2701_g3d,
},
};
builtin_platform_driver(clk_mt2701_g3d_drv);
module_platform_driver(clk_mt2701_g3d_drv);
MODULE_LICENSE("GPL");

View File

@@ -71,5 +71,5 @@ static struct platform_driver clk_mt2701_hif_drv = {
.of_match_table = of_match_clk_mt2701_hif,
},
};
builtin_platform_driver(clk_mt2701_hif_drv);
module_platform_driver(clk_mt2701_hif_drv);
MODULE_LICENSE("GPL");

View File

@@ -52,5 +52,5 @@ static struct platform_driver clk_mt2701_img_drv = {
.of_match_table = of_match_clk_mt2701_img,
},
};
builtin_platform_driver(clk_mt2701_img_drv);
module_platform_driver(clk_mt2701_img_drv);
MODULE_LICENSE("GPL");

View File

@@ -94,5 +94,5 @@ static struct platform_driver clk_mt2701_mm_drv = {
.name = "clk-mt2701-mm",
},
};
builtin_platform_driver(clk_mt2701_mm_drv);
module_platform_driver(clk_mt2701_mm_drv);
MODULE_LICENSE("GPL");

View File

@@ -57,5 +57,5 @@ static struct platform_driver clk_mt2701_vdec_drv = {
.of_match_table = of_match_clk_mt2701_vdec,
},
};
builtin_platform_driver(clk_mt2701_vdec_drv);
module_platform_driver(clk_mt2701_vdec_drv);
MODULE_LICENSE("GPL");

View File

@@ -1038,3 +1038,4 @@ static int __init clk_mt2701_init(void)
}
arch_initcall(clk_mt2701_init);
MODULE_LICENSE("GPL");

View File

@@ -74,5 +74,5 @@ static struct platform_driver clk_mt2712_bdp_drv = {
.of_match_table = of_match_clk_mt2712_bdp,
},
};
builtin_platform_driver(clk_mt2712_bdp_drv);
module_platform_driver(clk_mt2712_bdp_drv);
MODULE_LICENSE("GPL");

View File

@@ -52,5 +52,5 @@ static struct platform_driver clk_mt2712_img_drv = {
.of_match_table = of_match_clk_mt2712_img,
},
};
builtin_platform_driver(clk_mt2712_img_drv);
module_platform_driver(clk_mt2712_img_drv);
MODULE_LICENSE("GPL");

View File

@@ -48,5 +48,5 @@ static struct platform_driver clk_mt2712_jpgdec_drv = {
.of_match_table = of_match_clk_mt2712_jpgdec,
},
};
builtin_platform_driver(clk_mt2712_jpgdec_drv);
module_platform_driver(clk_mt2712_jpgdec_drv);
MODULE_LICENSE("GPL");

View File

@@ -47,5 +47,5 @@ static struct platform_driver clk_mt2712_mfg_drv = {
.of_match_table = of_match_clk_mt2712_mfg,
},
};
builtin_platform_driver(clk_mt2712_mfg_drv);
module_platform_driver(clk_mt2712_mfg_drv);
MODULE_LICENSE("GPL");

View File

@@ -135,5 +135,5 @@ static struct platform_driver clk_mt2712_mm_drv = {
.name = "clk-mt2712-mm",
},
};
builtin_platform_driver(clk_mt2712_mm_drv);
module_platform_driver(clk_mt2712_mm_drv);
MODULE_LICENSE("GPL");

View File

@@ -60,5 +60,5 @@ static struct platform_driver clk_mt2712_vdec_drv = {
.of_match_table = of_match_clk_mt2712_vdec,
},
};
builtin_platform_driver(clk_mt2712_vdec_drv);
module_platform_driver(clk_mt2712_vdec_drv);
MODULE_LICENSE("GPL");

View File

@@ -49,5 +49,5 @@ static struct platform_driver clk_mt2712_venc_drv = {
.of_match_table = of_match_clk_mt2712_venc,
},
};
builtin_platform_driver(clk_mt2712_venc_drv);
module_platform_driver(clk_mt2712_venc_drv);
MODULE_LICENSE("GPL");

View File

@@ -1453,10 +1453,5 @@ static struct platform_driver clk_mt2712_drv = {
.of_match_table = of_match_clk_mt2712,
},
};
static int __init clk_mt2712_init(void)
{
return platform_driver_register(&clk_mt2712_drv);
}
arch_initcall(clk_mt2712_init);
module_platform_driver(clk_mt2712_drv);
MODULE_LICENSE("GPL");

View File

@@ -74,5 +74,5 @@ static struct platform_driver clk_mt6765_audio_drv = {
.of_match_table = of_match_clk_mt6765_audio,
},
};
builtin_platform_driver(clk_mt6765_audio_drv);
module_platform_driver(clk_mt6765_audio_drv);
MODULE_LICENSE("GPL");

View File

@@ -55,5 +55,5 @@ static struct platform_driver clk_mt6765_cam_drv = {
.of_match_table = of_match_clk_mt6765_cam,
},
};
builtin_platform_driver(clk_mt6765_cam_drv);
module_platform_driver(clk_mt6765_cam_drv);
MODULE_LICENSE("GPL");

View File

@@ -51,5 +51,5 @@ static struct platform_driver clk_mt6765_img_drv = {
.of_match_table = of_match_clk_mt6765_img,
},
};
builtin_platform_driver(clk_mt6765_img_drv);
module_platform_driver(clk_mt6765_img_drv);
MODULE_LICENSE("GPL");

View File

@@ -48,5 +48,5 @@ static struct platform_driver clk_mt6765_mipi0a_drv = {
.of_match_table = of_match_clk_mt6765_mipi0a,
},
};
builtin_platform_driver(clk_mt6765_mipi0a_drv);
module_platform_driver(clk_mt6765_mipi0a_drv);
MODULE_LICENSE("GPL");

View File

@@ -77,5 +77,5 @@ static struct platform_driver clk_mt6765_mm_drv = {
.of_match_table = of_match_clk_mt6765_mm,
},
};
builtin_platform_driver(clk_mt6765_mm_drv);
module_platform_driver(clk_mt6765_mm_drv);
MODULE_LICENSE("GPL");

View File

@@ -50,5 +50,5 @@ static struct platform_driver clk_mt6765_vcodec_drv = {
.of_match_table = of_match_clk_mt6765_vcodec,
},
};
builtin_platform_driver(clk_mt6765_vcodec_drv);
module_platform_driver(clk_mt6765_vcodec_drv);
MODULE_LICENSE("GPL");

View File

@@ -878,3 +878,4 @@ static int __init clk_mt6765_init(void)
}
arch_initcall(clk_mt6765_init);
MODULE_LICENSE("GPL");

View File

@@ -48,5 +48,5 @@ static struct platform_driver clk_mt6797_img_drv = {
.of_match_table = of_match_clk_mt6797_img,
},
};
builtin_platform_driver(clk_mt6797_img_drv);
module_platform_driver(clk_mt6797_img_drv);
MODULE_LICENSE("GPL");

View File

@@ -107,5 +107,5 @@ static struct platform_driver clk_mt6797_mm_drv = {
.name = "clk-mt6797-mm",
},
};
builtin_platform_driver(clk_mt6797_mm_drv);
module_platform_driver(clk_mt6797_mm_drv);
MODULE_LICENSE("GPL");

View File

@@ -59,5 +59,5 @@ static struct platform_driver clk_mt6797_vdec_drv = {
.of_match_table = of_match_clk_mt6797_vdec,
},
};
builtin_platform_driver(clk_mt6797_vdec_drv);
module_platform_driver(clk_mt6797_vdec_drv);
MODULE_LICENSE("GPL");

View File

@@ -50,5 +50,5 @@ static struct platform_driver clk_mt6797_venc_drv = {
.of_match_table = of_match_clk_mt6797_venc,
},
};
builtin_platform_driver(clk_mt6797_venc_drv);
module_platform_driver(clk_mt6797_venc_drv);
MODULE_LICENSE("GPL");

View File

@@ -708,3 +708,4 @@ static int __init clk_mt6797_init(void)
}
arch_initcall(clk_mt6797_init);
MODULE_LICENSE("GPL");

View File

@@ -172,5 +172,5 @@ static struct platform_driver clk_mt7622_aud_drv = {
.of_match_table = of_match_clk_mt7622_aud,
},
};
builtin_platform_driver(clk_mt7622_aud_drv);
module_platform_driver(clk_mt7622_aud_drv);
MODULE_LICENSE("GPL");

View File

@@ -140,5 +140,5 @@ static struct platform_driver clk_mt7622_eth_drv = {
.of_match_table = of_match_clk_mt7622_eth,
},
};
builtin_platform_driver(clk_mt7622_eth_drv);
module_platform_driver(clk_mt7622_eth_drv);
MODULE_LICENSE("GPL");

View File

@@ -153,5 +153,5 @@ static struct platform_driver clk_mt7622_hif_drv = {
.of_match_table = of_match_clk_mt7622_hif,
},
};
builtin_platform_driver(clk_mt7622_hif_drv);
module_platform_driver(clk_mt7622_hif_drv);
MODULE_LICENSE("GPL");

View File

@@ -157,3 +157,4 @@ static struct platform_driver clk_mt7629_eth_drv = {
};
builtin_platform_driver(clk_mt7629_eth_drv);
MODULE_LICENSE("GPL");

View File

@@ -148,5 +148,5 @@ static struct platform_driver clk_mt7629_hif_drv = {
.of_match_table = of_match_clk_mt7629_hif,
},
};
builtin_platform_driver(clk_mt7629_hif_drv);
module_platform_driver(clk_mt7629_hif_drv);
MODULE_LICENSE("GPL");

View File

@@ -697,3 +697,4 @@ static int clk_mt7629_init(void)
}
arch_initcall(clk_mt7629_init);
MODULE_LICENSE("GPL");

View File

@@ -100,3 +100,4 @@ static struct platform_driver clk_mt7986_apmixed_drv = {
},
};
builtin_platform_driver(clk_mt7986_apmixed_drv);
MODULE_LICENSE("GPL");

View File

@@ -339,4 +339,5 @@ static struct platform_driver clk_mt7986_topckgen_drv = {
.of_match_table = of_match_clk_mt7986_topckgen,
},
};
builtin_platform_driver(clk_mt7986_topckgen_drv);
module_platform_driver(clk_mt7986_topckgen_drv);
MODULE_LICENSE("GPL");

View File

@@ -101,5 +101,5 @@ static struct platform_driver clk_mt8183_audio_drv = {
.of_match_table = of_match_clk_mt8183_audio,
},
};
builtin_platform_driver(clk_mt8183_audio_drv);
module_platform_driver(clk_mt8183_audio_drv);
MODULE_LICENSE("GPL");

View File

@@ -56,5 +56,5 @@ static struct platform_driver clk_mt8183_cam_drv = {
.of_match_table = of_match_clk_mt8183_cam,
},
};
builtin_platform_driver(clk_mt8183_cam_drv);
module_platform_driver(clk_mt8183_cam_drv);
MODULE_LICENSE("GPL");

View File

@@ -56,5 +56,5 @@ static struct platform_driver clk_mt8183_img_drv = {
.of_match_table = of_match_clk_mt8183_img,
},
};
builtin_platform_driver(clk_mt8183_img_drv);
module_platform_driver(clk_mt8183_img_drv);
MODULE_LICENSE("GPL");

View File

@@ -49,5 +49,5 @@ static struct platform_driver clk_mt8183_ipu_core0_drv = {
.of_match_table = of_match_clk_mt8183_ipu_core0,
},
};
builtin_platform_driver(clk_mt8183_ipu_core0_drv);
module_platform_driver(clk_mt8183_ipu_core0_drv);
MODULE_LICENSE("GPL");

View File

@@ -49,5 +49,5 @@ static struct platform_driver clk_mt8183_ipu_core1_drv = {
.of_match_table = of_match_clk_mt8183_ipu_core1,
},
};
builtin_platform_driver(clk_mt8183_ipu_core1_drv);
module_platform_driver(clk_mt8183_ipu_core1_drv);
MODULE_LICENSE("GPL");

View File

@@ -47,5 +47,5 @@ static struct platform_driver clk_mt8183_ipu_adl_drv = {
.of_match_table = of_match_clk_mt8183_ipu_adl,
},
};
builtin_platform_driver(clk_mt8183_ipu_adl_drv);
module_platform_driver(clk_mt8183_ipu_adl_drv);
MODULE_LICENSE("GPL");

View File

@@ -116,5 +116,5 @@ static struct platform_driver clk_mt8183_ipu_conn_drv = {
.of_match_table = of_match_clk_mt8183_ipu_conn,
},
};
builtin_platform_driver(clk_mt8183_ipu_conn_drv);
module_platform_driver(clk_mt8183_ipu_conn_drv);
MODULE_LICENSE("GPL");

View File

@@ -48,5 +48,5 @@ static struct platform_driver clk_mt8183_mfg_drv = {
.of_match_table = of_match_clk_mt8183_mfg,
},
};
builtin_platform_driver(clk_mt8183_mfg_drv);
module_platform_driver(clk_mt8183_mfg_drv);
MODULE_LICENSE("GPL");

View File

@@ -102,5 +102,5 @@ static struct platform_driver clk_mt8183_mm_drv = {
.name = "clk-mt8183-mm",
},
};
builtin_platform_driver(clk_mt8183_mm_drv);
module_platform_driver(clk_mt8183_mm_drv);
MODULE_LICENSE("GPL");

View File

@@ -60,5 +60,5 @@ static struct platform_driver clk_mt8183_vdec_drv = {
.of_match_table = of_match_clk_mt8183_vdec,
},
};
builtin_platform_driver(clk_mt8183_vdec_drv);
module_platform_driver(clk_mt8183_vdec_drv);
MODULE_LICENSE("GPL");

View File

@@ -52,5 +52,5 @@ static struct platform_driver clk_mt8183_venc_drv = {
.of_match_table = of_match_clk_mt8183_venc,
},
};
builtin_platform_driver(clk_mt8183_venc_drv);
module_platform_driver(clk_mt8183_venc_drv);
MODULE_LICENSE("GPL");

View File

@@ -1360,10 +1360,5 @@ static struct platform_driver clk_mt8183_drv = {
.of_match_table = of_match_clk_mt8183,
},
};
static int __init clk_mt8183_init(void)
{
return platform_driver_register(&clk_mt8183_drv);
}
arch_initcall(clk_mt8183_init);
module_platform_driver(clk_mt8183_drv)
MODULE_LICENSE("GPL");

View File

@@ -130,4 +130,5 @@ static struct platform_driver clk_mt8186_apmixed_drv = {
.of_match_table = of_match_clk_mt8186_apmixed,
},
};
builtin_platform_driver(clk_mt8186_apmixed_drv);
module_platform_driver(clk_mt8186_apmixed_drv);
MODULE_LICENSE("GPL");

View File

@@ -87,4 +87,5 @@ static struct platform_driver clk_mt8186_cam_drv = {
.of_match_table = of_match_clk_mt8186_cam,
},
};
builtin_platform_driver(clk_mt8186_cam_drv);
module_platform_driver(clk_mt8186_cam_drv);
MODULE_LICENSE("GPL");

View File

@@ -65,4 +65,5 @@ static struct platform_driver clk_mt8186_img_drv = {
.of_match_table = of_match_clk_mt8186_img,
},
};
builtin_platform_driver(clk_mt8186_img_drv);
module_platform_driver(clk_mt8186_img_drv);
MODULE_LICENSE("GPL");

View File

@@ -64,4 +64,5 @@ static struct platform_driver clk_mt8186_imp_iic_wrap_drv = {
.of_match_table = of_match_clk_mt8186_imp_iic_wrap,
},
};
builtin_platform_driver(clk_mt8186_imp_iic_wrap_drv);
module_platform_driver(clk_mt8186_imp_iic_wrap_drv);
MODULE_LICENSE("GPL");

View File

@@ -236,4 +236,5 @@ static struct platform_driver clk_mt8186_infra_ao_drv = {
.of_match_table = of_match_clk_mt8186_infra_ao,
},
};
builtin_platform_driver(clk_mt8186_infra_ao_drv);
module_platform_driver(clk_mt8186_infra_ao_drv);
MODULE_LICENSE("GPL");

View File

@@ -52,4 +52,5 @@ static struct platform_driver clk_mt8186_ipe_drv = {
.of_match_table = of_match_clk_mt8186_ipe,
},
};
builtin_platform_driver(clk_mt8186_ipe_drv);
module_platform_driver(clk_mt8186_ipe_drv);
MODULE_LICENSE("GPL");

View File

@@ -105,4 +105,5 @@ static struct platform_driver clk_mt8186_mcu_drv = {
.of_match_table = of_match_clk_mt8186_mcu,
},
};
builtin_platform_driver(clk_mt8186_mcu_drv);
module_platform_driver(clk_mt8186_mcu_drv);
MODULE_LICENSE("GPL");

View File

@@ -77,4 +77,5 @@ static struct platform_driver clk_mt8186_mdp_drv = {
.of_match_table = of_match_clk_mt8186_mdp,
},
};
builtin_platform_driver(clk_mt8186_mdp_drv);
module_platform_driver(clk_mt8186_mdp_drv);
MODULE_LICENSE("GPL");

View File

@@ -45,4 +45,5 @@ static struct platform_driver clk_mt8186_mfg_drv = {
.of_match_table = of_match_clk_mt8186_mfg,
},
};
builtin_platform_driver(clk_mt8186_mfg_drv);
module_platform_driver(clk_mt8186_mfg_drv);
MODULE_LICENSE("GPL");

View File

@@ -108,4 +108,5 @@ static struct platform_driver clk_mt8186_mm_drv = {
.name = "clk-mt8186-mm",
},
};
builtin_platform_driver(clk_mt8186_mm_drv);
module_platform_driver(clk_mt8186_mm_drv);
MODULE_LICENSE("GPL");

View File

@@ -777,4 +777,5 @@ static struct platform_driver clk_mt8186_topck_drv = {
.of_match_table = of_match_clk_mt8186_topck,
},
};
builtin_platform_driver(clk_mt8186_topck_drv);
module_platform_driver(clk_mt8186_topck_drv);
MODULE_LICENSE("GPL");

View File

@@ -85,4 +85,5 @@ static struct platform_driver clk_mt8186_vdec_drv = {
.of_match_table = of_match_clk_mt8186_vdec,
},
};
builtin_platform_driver(clk_mt8186_vdec_drv);
module_platform_driver(clk_mt8186_vdec_drv);
MODULE_LICENSE("GPL");

View File

@@ -48,4 +48,5 @@ static struct platform_driver clk_mt8186_venc_drv = {
.of_match_table = of_match_clk_mt8186_venc,
},
};
builtin_platform_driver(clk_mt8186_venc_drv);
module_platform_driver(clk_mt8186_venc_drv);
MODULE_LICENSE("GPL");

View File

@@ -48,4 +48,5 @@ static struct platform_driver clk_mt8186_wpe_drv = {
.of_match_table = of_match_clk_mt8186_wpe,
},
};
builtin_platform_driver(clk_mt8186_wpe_drv);
module_platform_driver(clk_mt8186_wpe_drv);
MODULE_LICENSE("GPL");

View File

@@ -114,5 +114,5 @@ static struct platform_driver clk_mt8192_aud_drv = {
.of_match_table = of_match_clk_mt8192_aud,
},
};
builtin_platform_driver(clk_mt8192_aud_drv);
module_platform_driver(clk_mt8192_aud_drv);
MODULE_LICENSE("GPL");

View File

@@ -104,5 +104,5 @@ static struct platform_driver clk_mt8192_cam_drv = {
.of_match_table = of_match_clk_mt8192_cam,
},
};
builtin_platform_driver(clk_mt8192_cam_drv);
module_platform_driver(clk_mt8192_cam_drv);
MODULE_LICENSE("GPL");

View File

@@ -67,5 +67,5 @@ static struct platform_driver clk_mt8192_img_drv = {
.of_match_table = of_match_clk_mt8192_img,
},
};
builtin_platform_driver(clk_mt8192_img_drv);
module_platform_driver(clk_mt8192_img_drv);
MODULE_LICENSE("GPL");

View File

@@ -116,5 +116,5 @@ static struct platform_driver clk_mt8192_imp_iic_wrap_drv = {
.of_match_table = of_match_clk_mt8192_imp_iic_wrap,
},
};
builtin_platform_driver(clk_mt8192_imp_iic_wrap_drv);
module_platform_driver(clk_mt8192_imp_iic_wrap_drv);
MODULE_LICENSE("GPL");

View File

@@ -54,5 +54,5 @@ static struct platform_driver clk_mt8192_ipe_drv = {
.of_match_table = of_match_clk_mt8192_ipe,
},
};
builtin_platform_driver(clk_mt8192_ipe_drv);
module_platform_driver(clk_mt8192_ipe_drv);
MODULE_LICENSE("GPL");

View File

@@ -79,5 +79,5 @@ static struct platform_driver clk_mt8192_mdp_drv = {
.of_match_table = of_match_clk_mt8192_mdp,
},
};
builtin_platform_driver(clk_mt8192_mdp_drv);
module_platform_driver(clk_mt8192_mdp_drv);
MODULE_LICENSE("GPL");

View File

@@ -49,5 +49,5 @@ static struct platform_driver clk_mt8192_mfg_drv = {
.of_match_table = of_match_clk_mt8192_mfg,
},
};
builtin_platform_driver(clk_mt8192_mfg_drv);
module_platform_driver(clk_mt8192_mfg_drv);
MODULE_LICENSE("GPL");

View File

@@ -104,5 +104,5 @@ static struct platform_driver clk_mt8192_mm_drv = {
.name = "clk-mt8192-mm",
},
};
builtin_platform_driver(clk_mt8192_mm_drv);
module_platform_driver(clk_mt8192_mm_drv);
MODULE_LICENSE("GPL");

View File

@@ -61,5 +61,5 @@ static struct platform_driver clk_mt8192_msdc_drv = {
.of_match_table = of_match_clk_mt8192_msdc,
},
};
builtin_platform_driver(clk_mt8192_msdc_drv);
module_platform_driver(clk_mt8192_msdc_drv);
MODULE_LICENSE("GPL");

View File

@@ -47,5 +47,5 @@ static struct platform_driver clk_mt8192_scp_adsp_drv = {
.of_match_table = of_match_clk_mt8192_scp_adsp,
},
};
builtin_platform_driver(clk_mt8192_scp_adsp_drv);
module_platform_driver(clk_mt8192_scp_adsp_drv);
MODULE_LICENSE("GPL");

View File

@@ -91,5 +91,5 @@ static struct platform_driver clk_mt8192_vdec_drv = {
.of_match_table = of_match_clk_mt8192_vdec,
},
};
builtin_platform_driver(clk_mt8192_vdec_drv);
module_platform_driver(clk_mt8192_vdec_drv);
MODULE_LICENSE("GPL");

View File

@@ -50,5 +50,5 @@ static struct platform_driver clk_mt8192_venc_drv = {
.of_match_table = of_match_clk_mt8192_venc,
},
};
builtin_platform_driver(clk_mt8192_venc_drv);
module_platform_driver(clk_mt8192_venc_drv);
MODULE_LICENSE("GPL");

View File

@@ -1251,3 +1251,4 @@ static int __init clk_mt8192_init(void)
}
arch_initcall(clk_mt8192_init);
MODULE_LICENSE("GPL");

View File

@@ -166,4 +166,5 @@ static struct platform_driver clk_mt8195_apmixed_drv = {
.of_match_table = of_match_clk_mt8195_apmixed,
},
};
builtin_platform_driver(clk_mt8195_apmixed_drv);
module_platform_driver(clk_mt8195_apmixed_drv);
MODULE_LICENSE("GPL");

View File

@@ -110,4 +110,5 @@ static struct platform_driver clk_mt8195_apusys_pll_drv = {
.of_match_table = of_match_clk_mt8195_apusys_pll,
},
};
builtin_platform_driver(clk_mt8195_apusys_pll_drv);
module_platform_driver(clk_mt8195_apusys_pll_drv);
MODULE_LICENSE("GPL");

View File

@@ -140,4 +140,5 @@ static struct platform_driver clk_mt8195_cam_drv = {
.of_match_table = of_match_clk_mt8195_cam,
},
};
builtin_platform_driver(clk_mt8195_cam_drv);
module_platform_driver(clk_mt8195_cam_drv);
MODULE_LICENSE("GPL");

View File

@@ -48,4 +48,5 @@ static struct platform_driver clk_mt8195_ccu_drv = {
.of_match_table = of_match_clk_mt8195_ccu,
},
};
builtin_platform_driver(clk_mt8195_ccu_drv);
module_platform_driver(clk_mt8195_ccu_drv);
MODULE_LICENSE("GPL");

View File

@@ -94,4 +94,5 @@ static struct platform_driver clk_mt8195_img_drv = {
.of_match_table = of_match_clk_mt8195_img,
},
};
builtin_platform_driver(clk_mt8195_img_drv);
module_platform_driver(clk_mt8195_img_drv);
MODULE_LICENSE("GPL");

View File

@@ -64,4 +64,5 @@ static struct platform_driver clk_mt8195_imp_iic_wrap_drv = {
.of_match_table = of_match_clk_mt8195_imp_iic_wrap,
},
};
builtin_platform_driver(clk_mt8195_imp_iic_wrap_drv);
module_platform_driver(clk_mt8195_imp_iic_wrap_drv);
MODULE_LICENSE("GPL");

View File

@@ -238,4 +238,5 @@ static struct platform_driver clk_mt8195_infra_ao_drv = {
.of_match_table = of_match_clk_mt8195_infra_ao,
},
};
builtin_platform_driver(clk_mt8195_infra_ao_drv);
module_platform_driver(clk_mt8195_infra_ao_drv);
MODULE_LICENSE("GPL");

View File

@@ -49,4 +49,5 @@ static struct platform_driver clk_mt8195_ipe_drv = {
.of_match_table = of_match_clk_mt8195_ipe,
},
};
builtin_platform_driver(clk_mt8195_ipe_drv);
module_platform_driver(clk_mt8195_ipe_drv);
MODULE_LICENSE("GPL");

View File

@@ -47,4 +47,5 @@ static struct platform_driver clk_mt8195_mfg_drv = {
.of_match_table = of_match_clk_mt8195_mfg,
},
};
builtin_platform_driver(clk_mt8195_mfg_drv);
module_platform_driver(clk_mt8195_mfg_drv);
MODULE_LICENSE("GPL");

View File

@@ -60,4 +60,5 @@ static struct platform_driver clk_mt8195_peri_ao_drv = {
.of_match_table = of_match_clk_mt8195_peri_ao,
},
};
builtin_platform_driver(clk_mt8195_peri_ao_drv);
module_platform_driver(clk_mt8195_peri_ao_drv);
MODULE_LICENSE("GPL");

View File

@@ -45,4 +45,5 @@ static struct platform_driver clk_mt8195_scp_adsp_drv = {
.of_match_table = of_match_clk_mt8195_scp_adsp,
},
};
builtin_platform_driver(clk_mt8195_scp_adsp_drv);
module_platform_driver(clk_mt8195_scp_adsp_drv);
MODULE_LICENSE("GPL");

View File

@@ -1337,4 +1337,5 @@ static struct platform_driver clk_mt8195_topck_drv = {
.of_match_table = of_match_clk_mt8195_topck,
},
};
builtin_platform_driver(clk_mt8195_topck_drv);
module_platform_driver(clk_mt8195_topck_drv);
MODULE_LICENSE("GPL");

View File

@@ -102,4 +102,5 @@ static struct platform_driver clk_mt8195_vdec_drv = {
.of_match_table = of_match_clk_mt8195_vdec,
},
};
builtin_platform_driver(clk_mt8195_vdec_drv);
module_platform_driver(clk_mt8195_vdec_drv);
MODULE_LICENSE("GPL");

View File

@@ -143,4 +143,5 @@ static struct platform_driver clk_mt8195_vdo0_drv = {
.name = "clk-mt8195-vdo0",
},
};
builtin_platform_driver(clk_mt8195_vdo0_drv);
module_platform_driver(clk_mt8195_vdo0_drv);
MODULE_LICENSE("GPL");

View File

@@ -170,4 +170,5 @@ static struct platform_driver clk_mt8195_vdo1_drv = {
.name = "clk-mt8195-vdo1",
},
};
builtin_platform_driver(clk_mt8195_vdo1_drv);
module_platform_driver(clk_mt8195_vdo1_drv);
MODULE_LICENSE("GPL");

View File

@@ -67,4 +67,5 @@ static struct platform_driver clk_mt8195_venc_drv = {
.of_match_table = of_match_clk_mt8195_venc,
},
};
builtin_platform_driver(clk_mt8195_venc_drv);
module_platform_driver(clk_mt8195_venc_drv);
MODULE_LICENSE("GPL");

View File

@@ -108,4 +108,5 @@ static struct platform_driver clk_mt8195_vpp0_drv = {
.of_match_table = of_match_clk_mt8195_vpp0,
},
};
builtin_platform_driver(clk_mt8195_vpp0_drv);
module_platform_driver(clk_mt8195_vpp0_drv);
MODULE_LICENSE("GPL");

View File

@@ -106,4 +106,5 @@ static struct platform_driver clk_mt8195_vpp1_drv = {
.of_match_table = of_match_clk_mt8195_vpp1,
},
};
builtin_platform_driver(clk_mt8195_vpp1_drv);
module_platform_driver(clk_mt8195_vpp1_drv);
MODULE_LICENSE("GPL");

View File

@@ -141,4 +141,5 @@ static struct platform_driver clk_mt8195_wpe_drv = {
.of_match_table = of_match_clk_mt8195_wpe,
},
};
builtin_platform_driver(clk_mt8195_wpe_drv);
module_platform_driver(clk_mt8195_wpe_drv);
MODULE_LICENSE("GPL");