Commit a451da86 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno Committed by Stephen Boyd

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.
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: default avatarChen-Yu Tsai <wenst@chromium.org>
Tested-by: default avatarMiles 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.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 164d240d
...@@ -164,3 +164,4 @@ static struct platform_driver clk_mt2701_aud_drv = { ...@@ -164,3 +164,4 @@ static struct platform_driver clk_mt2701_aud_drv = {
}, },
}; };
module_platform_driver(clk_mt2701_aud_drv); module_platform_driver(clk_mt2701_aud_drv);
MODULE_LICENSE("GPL");
...@@ -105,3 +105,4 @@ static struct platform_driver clk_mt2701_bdp_drv = { ...@@ -105,3 +105,4 @@ static struct platform_driver clk_mt2701_bdp_drv = {
}, },
}; };
module_platform_driver(clk_mt2701_bdp_drv); module_platform_driver(clk_mt2701_bdp_drv);
MODULE_LICENSE("GPL");
...@@ -59,3 +59,4 @@ static struct platform_driver clk_mt2701_eth_drv = { ...@@ -59,3 +59,4 @@ static struct platform_driver clk_mt2701_eth_drv = {
}, },
}; };
module_platform_driver(clk_mt2701_eth_drv); module_platform_driver(clk_mt2701_eth_drv);
MODULE_LICENSE("GPL");
...@@ -58,3 +58,4 @@ static struct platform_driver clk_mt2701_g3d_drv = { ...@@ -58,3 +58,4 @@ static struct platform_driver clk_mt2701_g3d_drv = {
}, },
}; };
module_platform_driver(clk_mt2701_g3d_drv); module_platform_driver(clk_mt2701_g3d_drv);
MODULE_LICENSE("GPL");
...@@ -56,3 +56,4 @@ static struct platform_driver clk_mt2701_hif_drv = { ...@@ -56,3 +56,4 @@ static struct platform_driver clk_mt2701_hif_drv = {
}, },
}; };
module_platform_driver(clk_mt2701_hif_drv); module_platform_driver(clk_mt2701_hif_drv);
MODULE_LICENSE("GPL");
...@@ -53,3 +53,4 @@ static struct platform_driver clk_mt2701_img_drv = { ...@@ -53,3 +53,4 @@ static struct platform_driver clk_mt2701_img_drv = {
}, },
}; };
module_platform_driver(clk_mt2701_img_drv); module_platform_driver(clk_mt2701_img_drv);
MODULE_LICENSE("GPL");
...@@ -86,3 +86,4 @@ static struct platform_driver clk_mt2701_mm_drv = { ...@@ -86,3 +86,4 @@ static struct platform_driver clk_mt2701_mm_drv = {
.id_table = clk_mt2701_mm_id_table, .id_table = clk_mt2701_mm_id_table,
}; };
module_platform_driver(clk_mt2701_mm_drv); module_platform_driver(clk_mt2701_mm_drv);
MODULE_LICENSE("GPL");
...@@ -58,3 +58,4 @@ static struct platform_driver clk_mt2701_vdec_drv = { ...@@ -58,3 +58,4 @@ static struct platform_driver clk_mt2701_vdec_drv = {
}, },
}; };
module_platform_driver(clk_mt2701_vdec_drv); module_platform_driver(clk_mt2701_vdec_drv);
MODULE_LICENSE("GPL");
...@@ -1032,3 +1032,4 @@ static int __init clk_mt2701_init(void) ...@@ -1032,3 +1032,4 @@ static int __init clk_mt2701_init(void)
} }
arch_initcall(clk_mt2701_init); arch_initcall(clk_mt2701_init);
MODULE_LICENSE("GPL");
...@@ -164,3 +164,4 @@ static struct platform_driver clk_mt2712_apmixed_drv = { ...@@ -164,3 +164,4 @@ static struct platform_driver clk_mt2712_apmixed_drv = {
}, },
}; };
module_platform_driver(clk_mt2712_apmixed_drv) module_platform_driver(clk_mt2712_apmixed_drv)
MODULE_LICENSE("GPL");
...@@ -75,3 +75,4 @@ static struct platform_driver clk_mt2712_bdp_drv = { ...@@ -75,3 +75,4 @@ static struct platform_driver clk_mt2712_bdp_drv = {
}, },
}; };
module_platform_driver(clk_mt2712_bdp_drv); module_platform_driver(clk_mt2712_bdp_drv);
MODULE_LICENSE("GPL");
...@@ -53,3 +53,4 @@ static struct platform_driver clk_mt2712_img_drv = { ...@@ -53,3 +53,4 @@ static struct platform_driver clk_mt2712_img_drv = {
}, },
}; };
module_platform_driver(clk_mt2712_img_drv); module_platform_driver(clk_mt2712_img_drv);
MODULE_LICENSE("GPL");
...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt2712_jpgdec_drv = { ...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt2712_jpgdec_drv = {
}, },
}; };
module_platform_driver(clk_mt2712_jpgdec_drv); module_platform_driver(clk_mt2712_jpgdec_drv);
MODULE_LICENSE("GPL");
...@@ -48,3 +48,4 @@ static struct platform_driver clk_mt2712_mfg_drv = { ...@@ -48,3 +48,4 @@ static struct platform_driver clk_mt2712_mfg_drv = {
}, },
}; };
module_platform_driver(clk_mt2712_mfg_drv); module_platform_driver(clk_mt2712_mfg_drv);
MODULE_LICENSE("GPL");
...@@ -127,3 +127,4 @@ static struct platform_driver clk_mt2712_mm_drv = { ...@@ -127,3 +127,4 @@ static struct platform_driver clk_mt2712_mm_drv = {
.id_table = clk_mt2712_mm_id_table, .id_table = clk_mt2712_mm_id_table,
}; };
module_platform_driver(clk_mt2712_mm_drv); module_platform_driver(clk_mt2712_mm_drv);
MODULE_LICENSE("GPL");
...@@ -61,3 +61,4 @@ static struct platform_driver clk_mt2712_vdec_drv = { ...@@ -61,3 +61,4 @@ static struct platform_driver clk_mt2712_vdec_drv = {
}, },
}; };
module_platform_driver(clk_mt2712_vdec_drv); module_platform_driver(clk_mt2712_vdec_drv);
MODULE_LICENSE("GPL");
...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt2712_venc_drv = { ...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt2712_venc_drv = {
}, },
}; };
module_platform_driver(clk_mt2712_venc_drv); module_platform_driver(clk_mt2712_venc_drv);
MODULE_LICENSE("GPL");
...@@ -1001,3 +1001,4 @@ static struct platform_driver clk_mt2712_drv = { ...@@ -1001,3 +1001,4 @@ static struct platform_driver clk_mt2712_drv = {
}, },
}; };
module_platform_driver(clk_mt2712_drv); module_platform_driver(clk_mt2712_drv);
MODULE_LICENSE("GPL");
...@@ -75,3 +75,4 @@ static struct platform_driver clk_mt6765_audio_drv = { ...@@ -75,3 +75,4 @@ static struct platform_driver clk_mt6765_audio_drv = {
}, },
}; };
module_platform_driver(clk_mt6765_audio_drv); module_platform_driver(clk_mt6765_audio_drv);
MODULE_LICENSE("GPL");
...@@ -56,3 +56,4 @@ static struct platform_driver clk_mt6765_cam_drv = { ...@@ -56,3 +56,4 @@ static struct platform_driver clk_mt6765_cam_drv = {
}, },
}; };
module_platform_driver(clk_mt6765_cam_drv); module_platform_driver(clk_mt6765_cam_drv);
MODULE_LICENSE("GPL");
...@@ -52,3 +52,4 @@ static struct platform_driver clk_mt6765_img_drv = { ...@@ -52,3 +52,4 @@ static struct platform_driver clk_mt6765_img_drv = {
}, },
}; };
module_platform_driver(clk_mt6765_img_drv); module_platform_driver(clk_mt6765_img_drv);
MODULE_LICENSE("GPL");
...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt6765_mipi0a_drv = { ...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt6765_mipi0a_drv = {
}, },
}; };
module_platform_driver(clk_mt6765_mipi0a_drv); module_platform_driver(clk_mt6765_mipi0a_drv);
MODULE_LICENSE("GPL");
...@@ -78,3 +78,4 @@ static struct platform_driver clk_mt6765_mm_drv = { ...@@ -78,3 +78,4 @@ static struct platform_driver clk_mt6765_mm_drv = {
}, },
}; };
module_platform_driver(clk_mt6765_mm_drv); module_platform_driver(clk_mt6765_mm_drv);
MODULE_LICENSE("GPL");
...@@ -51,3 +51,4 @@ static struct platform_driver clk_mt6765_vcodec_drv = { ...@@ -51,3 +51,4 @@ static struct platform_driver clk_mt6765_vcodec_drv = {
}, },
}; };
module_platform_driver(clk_mt6765_vcodec_drv); module_platform_driver(clk_mt6765_vcodec_drv);
MODULE_LICENSE("GPL");
...@@ -873,3 +873,4 @@ static int __init clk_mt6765_init(void) ...@@ -873,3 +873,4 @@ static int __init clk_mt6765_init(void)
} }
arch_initcall(clk_mt6765_init); arch_initcall(clk_mt6765_init);
MODULE_LICENSE("GPL");
...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt6797_img_drv = { ...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt6797_img_drv = {
}, },
}; };
module_platform_driver(clk_mt6797_img_drv); module_platform_driver(clk_mt6797_img_drv);
MODULE_LICENSE("GPL");
...@@ -99,3 +99,4 @@ static struct platform_driver clk_mt6797_mm_drv = { ...@@ -99,3 +99,4 @@ static struct platform_driver clk_mt6797_mm_drv = {
.id_table = clk_mt6797_mm_id_table, .id_table = clk_mt6797_mm_id_table,
}; };
module_platform_driver(clk_mt6797_mm_drv); module_platform_driver(clk_mt6797_mm_drv);
MODULE_LICENSE("GPL");
...@@ -60,3 +60,4 @@ static struct platform_driver clk_mt6797_vdec_drv = { ...@@ -60,3 +60,4 @@ static struct platform_driver clk_mt6797_vdec_drv = {
}, },
}; };
module_platform_driver(clk_mt6797_vdec_drv); module_platform_driver(clk_mt6797_vdec_drv);
MODULE_LICENSE("GPL");
...@@ -51,3 +51,4 @@ static struct platform_driver clk_mt6797_venc_drv = { ...@@ -51,3 +51,4 @@ static struct platform_driver clk_mt6797_venc_drv = {
}, },
}; };
module_platform_driver(clk_mt6797_venc_drv); module_platform_driver(clk_mt6797_venc_drv);
MODULE_LICENSE("GPL");
...@@ -703,3 +703,4 @@ static int __init clk_mt6797_init(void) ...@@ -703,3 +703,4 @@ static int __init clk_mt6797_init(void)
} }
arch_initcall(clk_mt6797_init); arch_initcall(clk_mt6797_init);
MODULE_LICENSE("GPL");
...@@ -155,3 +155,4 @@ static struct platform_driver clk_mt7622_aud_drv = { ...@@ -155,3 +155,4 @@ static struct platform_driver clk_mt7622_aud_drv = {
}, },
}; };
module_platform_driver(clk_mt7622_aud_drv); module_platform_driver(clk_mt7622_aud_drv);
MODULE_LICENSE("GPL");
...@@ -87,3 +87,4 @@ static struct platform_driver clk_mt7622_eth_drv = { ...@@ -87,3 +87,4 @@ static struct platform_driver clk_mt7622_eth_drv = {
}, },
}; };
module_platform_driver(clk_mt7622_eth_drv); module_platform_driver(clk_mt7622_eth_drv);
MODULE_LICENSE("GPL");
...@@ -99,3 +99,4 @@ static struct platform_driver clk_mt7622_hif_drv = { ...@@ -99,3 +99,4 @@ static struct platform_driver clk_mt7622_hif_drv = {
}, },
}; };
module_platform_driver(clk_mt7622_hif_drv); module_platform_driver(clk_mt7622_hif_drv);
MODULE_LICENSE("GPL");
...@@ -154,3 +154,4 @@ static struct platform_driver clk_mt7629_eth_drv = { ...@@ -154,3 +154,4 @@ static struct platform_driver clk_mt7629_eth_drv = {
}; };
builtin_platform_driver(clk_mt7629_eth_drv); builtin_platform_driver(clk_mt7629_eth_drv);
MODULE_LICENSE("GPL");
...@@ -94,3 +94,4 @@ static struct platform_driver clk_mt7629_hif_drv = { ...@@ -94,3 +94,4 @@ static struct platform_driver clk_mt7629_hif_drv = {
}, },
}; };
module_platform_driver(clk_mt7629_hif_drv); module_platform_driver(clk_mt7629_hif_drv);
MODULE_LICENSE("GPL");
...@@ -693,3 +693,4 @@ static int clk_mt7629_init(void) ...@@ -693,3 +693,4 @@ static int clk_mt7629_init(void)
} }
arch_initcall(clk_mt7629_init); arch_initcall(clk_mt7629_init);
MODULE_LICENSE("GPL");
...@@ -100,3 +100,4 @@ static struct platform_driver clk_mt7981_apmixed_drv = { ...@@ -100,3 +100,4 @@ static struct platform_driver clk_mt7981_apmixed_drv = {
}, },
}; };
builtin_platform_driver(clk_mt7981_apmixed_drv); builtin_platform_driver(clk_mt7981_apmixed_drv);
MODULE_LICENSE("GPL");
...@@ -115,4 +115,4 @@ static struct platform_driver clk_mt7981_eth_drv = { ...@@ -115,4 +115,4 @@ static struct platform_driver clk_mt7981_eth_drv = {
}, },
}; };
module_platform_driver(clk_mt7981_eth_drv); module_platform_driver(clk_mt7981_eth_drv);
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL");
...@@ -205,3 +205,4 @@ static struct platform_driver clk_mt7981_infracfg_drv = { ...@@ -205,3 +205,4 @@ static struct platform_driver clk_mt7981_infracfg_drv = {
}, },
}; };
module_platform_driver(clk_mt7981_infracfg_drv); module_platform_driver(clk_mt7981_infracfg_drv);
MODULE_LICENSE("GPL");
...@@ -420,3 +420,4 @@ static struct platform_driver clk_mt7981_topckgen_drv = { ...@@ -420,3 +420,4 @@ static struct platform_driver clk_mt7981_topckgen_drv = {
}, },
}; };
module_platform_driver(clk_mt7981_topckgen_drv); module_platform_driver(clk_mt7981_topckgen_drv);
MODULE_LICENSE("GPL");
...@@ -98,3 +98,4 @@ static struct platform_driver clk_mt7986_apmixed_drv = { ...@@ -98,3 +98,4 @@ static struct platform_driver clk_mt7986_apmixed_drv = {
}, },
}; };
builtin_platform_driver(clk_mt7986_apmixed_drv); builtin_platform_driver(clk_mt7986_apmixed_drv);
MODULE_LICENSE("GPL");
...@@ -314,3 +314,4 @@ static struct platform_driver clk_mt7986_topckgen_drv = { ...@@ -314,3 +314,4 @@ static struct platform_driver clk_mt7986_topckgen_drv = {
}, },
}; };
module_platform_driver(clk_mt7986_topckgen_drv); module_platform_driver(clk_mt7986_topckgen_drv);
MODULE_LICENSE("GPL");
...@@ -638,3 +638,4 @@ static void __init mtk_apmixedsys_init(struct device_node *node) ...@@ -638,3 +638,4 @@ static void __init mtk_apmixedsys_init(struct device_node *node)
} }
CLK_OF_DECLARE(mtk_apmixedsys, "mediatek,mt8135-apmixedsys", CLK_OF_DECLARE(mtk_apmixedsys, "mediatek,mt8135-apmixedsys",
mtk_apmixedsys_init); mtk_apmixedsys_init);
MODULE_LICENSE("GPL");
...@@ -141,3 +141,4 @@ static struct platform_driver clk_mt8167_apmixed_drv = { ...@@ -141,3 +141,4 @@ static struct platform_driver clk_mt8167_apmixed_drv = {
}, },
}; };
builtin_platform_driver(clk_mt8167_apmixed_drv) builtin_platform_driver(clk_mt8167_apmixed_drv)
MODULE_LICENSE("GPL");
...@@ -62,3 +62,4 @@ static struct platform_driver clk_mt8167_audsys_drv = { ...@@ -62,3 +62,4 @@ static struct platform_driver clk_mt8167_audsys_drv = {
}, },
}; };
module_platform_driver(clk_mt8167_audsys_drv); module_platform_driver(clk_mt8167_audsys_drv);
MODULE_LICENSE("GPL");
...@@ -54,3 +54,4 @@ static struct platform_driver clk_mt8167_imgsys_drv = { ...@@ -54,3 +54,4 @@ static struct platform_driver clk_mt8167_imgsys_drv = {
}, },
}; };
module_platform_driver(clk_mt8167_imgsys_drv); module_platform_driver(clk_mt8167_imgsys_drv);
MODULE_LICENSE("GPL");
...@@ -52,3 +52,4 @@ static struct platform_driver clk_mt8167_mfgcfg_drv = { ...@@ -52,3 +52,4 @@ static struct platform_driver clk_mt8167_mfgcfg_drv = {
}, },
}; };
module_platform_driver(clk_mt8167_mfgcfg_drv); module_platform_driver(clk_mt8167_mfgcfg_drv);
MODULE_LICENSE("GPL");
...@@ -93,3 +93,4 @@ static struct platform_driver clk_mt8167_mm_drv = { ...@@ -93,3 +93,4 @@ static struct platform_driver clk_mt8167_mm_drv = {
.id_table = clk_mt8167_mm_id_table, .id_table = clk_mt8167_mm_id_table,
}; };
module_platform_driver(clk_mt8167_mm_drv); module_platform_driver(clk_mt8167_mm_drv);
MODULE_LICENSE("GPL");
...@@ -61,3 +61,4 @@ static struct platform_driver clk_mt8167_vdec_drv = { ...@@ -61,3 +61,4 @@ static struct platform_driver clk_mt8167_vdec_drv = {
}, },
}; };
module_platform_driver(clk_mt8167_vdec_drv); module_platform_driver(clk_mt8167_vdec_drv);
MODULE_LICENSE("GPL");
...@@ -893,3 +893,4 @@ static struct platform_driver clk_mt8167_drv = { ...@@ -893,3 +893,4 @@ static struct platform_driver clk_mt8167_drv = {
}, },
}; };
module_platform_driver(clk_mt8167_drv); module_platform_driver(clk_mt8167_drv);
MODULE_LICENSE("GPL");
...@@ -191,3 +191,4 @@ static struct platform_driver clk_mt8183_apmixed_drv = { ...@@ -191,3 +191,4 @@ static struct platform_driver clk_mt8183_apmixed_drv = {
}, },
}; };
builtin_platform_driver(clk_mt8183_apmixed_drv) builtin_platform_driver(clk_mt8183_apmixed_drv)
MODULE_LICENSE("GPL");
...@@ -107,3 +107,4 @@ static struct platform_driver clk_mt8183_audio_drv = { ...@@ -107,3 +107,4 @@ static struct platform_driver clk_mt8183_audio_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_audio_drv); module_platform_driver(clk_mt8183_audio_drv);
MODULE_LICENSE("GPL");
...@@ -57,3 +57,4 @@ static struct platform_driver clk_mt8183_cam_drv = { ...@@ -57,3 +57,4 @@ static struct platform_driver clk_mt8183_cam_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_cam_drv); module_platform_driver(clk_mt8183_cam_drv);
MODULE_LICENSE("GPL");
...@@ -57,3 +57,4 @@ static struct platform_driver clk_mt8183_img_drv = { ...@@ -57,3 +57,4 @@ static struct platform_driver clk_mt8183_img_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_img_drv); module_platform_driver(clk_mt8183_img_drv);
MODULE_LICENSE("GPL");
...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt8183_ipu_core0_drv = { ...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt8183_ipu_core0_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_ipu_core0_drv); module_platform_driver(clk_mt8183_ipu_core0_drv);
MODULE_LICENSE("GPL");
...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt8183_ipu_core1_drv = { ...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt8183_ipu_core1_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_ipu_core1_drv); module_platform_driver(clk_mt8183_ipu_core1_drv);
MODULE_LICENSE("GPL");
...@@ -48,3 +48,4 @@ static struct platform_driver clk_mt8183_ipu_adl_drv = { ...@@ -48,3 +48,4 @@ static struct platform_driver clk_mt8183_ipu_adl_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_ipu_adl_drv); module_platform_driver(clk_mt8183_ipu_adl_drv);
MODULE_LICENSE("GPL");
...@@ -117,3 +117,4 @@ static struct platform_driver clk_mt8183_ipu_conn_drv = { ...@@ -117,3 +117,4 @@ static struct platform_driver clk_mt8183_ipu_conn_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_ipu_conn_drv); module_platform_driver(clk_mt8183_ipu_conn_drv);
MODULE_LICENSE("GPL");
...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt8183_mfg_drv = { ...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt8183_mfg_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_mfg_drv); module_platform_driver(clk_mt8183_mfg_drv);
MODULE_LICENSE("GPL");
...@@ -101,3 +101,4 @@ static struct platform_driver clk_mt8183_mm_drv = { ...@@ -101,3 +101,4 @@ static struct platform_driver clk_mt8183_mm_drv = {
.id_table = clk_mt8183_mm_id_table, .id_table = clk_mt8183_mm_id_table,
}; };
module_platform_driver(clk_mt8183_mm_drv); module_platform_driver(clk_mt8183_mm_drv);
MODULE_LICENSE("GPL");
...@@ -61,3 +61,4 @@ static struct platform_driver clk_mt8183_vdec_drv = { ...@@ -61,3 +61,4 @@ static struct platform_driver clk_mt8183_vdec_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_vdec_drv); module_platform_driver(clk_mt8183_vdec_drv);
MODULE_LICENSE("GPL");
...@@ -53,3 +53,4 @@ static struct platform_driver clk_mt8183_venc_drv = { ...@@ -53,3 +53,4 @@ static struct platform_driver clk_mt8183_venc_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_venc_drv); module_platform_driver(clk_mt8183_venc_drv);
MODULE_LICENSE("GPL");
...@@ -878,3 +878,4 @@ static struct platform_driver clk_mt8183_drv = { ...@@ -878,3 +878,4 @@ static struct platform_driver clk_mt8183_drv = {
}, },
}; };
module_platform_driver(clk_mt8183_drv) module_platform_driver(clk_mt8183_drv)
MODULE_LICENSE("GPL");
...@@ -193,3 +193,4 @@ static struct platform_driver clk_mt8186_apmixed_drv = { ...@@ -193,3 +193,4 @@ static struct platform_driver clk_mt8186_apmixed_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_apmixed_drv); module_platform_driver(clk_mt8186_apmixed_drv);
MODULE_LICENSE("GPL");
...@@ -88,3 +88,4 @@ static struct platform_driver clk_mt8186_cam_drv = { ...@@ -88,3 +88,4 @@ static struct platform_driver clk_mt8186_cam_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_cam_drv); module_platform_driver(clk_mt8186_cam_drv);
MODULE_LICENSE("GPL");
...@@ -66,3 +66,4 @@ static struct platform_driver clk_mt8186_img_drv = { ...@@ -66,3 +66,4 @@ static struct platform_driver clk_mt8186_img_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_img_drv); module_platform_driver(clk_mt8186_img_drv);
MODULE_LICENSE("GPL");
...@@ -65,3 +65,4 @@ static struct platform_driver clk_mt8186_imp_iic_wrap_drv = { ...@@ -65,3 +65,4 @@ static struct platform_driver clk_mt8186_imp_iic_wrap_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_imp_iic_wrap_drv); module_platform_driver(clk_mt8186_imp_iic_wrap_drv);
MODULE_LICENSE("GPL");
...@@ -237,3 +237,4 @@ static struct platform_driver clk_mt8186_infra_ao_drv = { ...@@ -237,3 +237,4 @@ static struct platform_driver clk_mt8186_infra_ao_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_infra_ao_drv); module_platform_driver(clk_mt8186_infra_ao_drv);
MODULE_LICENSE("GPL");
...@@ -53,3 +53,4 @@ static struct platform_driver clk_mt8186_ipe_drv = { ...@@ -53,3 +53,4 @@ static struct platform_driver clk_mt8186_ipe_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_ipe_drv); module_platform_driver(clk_mt8186_ipe_drv);
MODULE_LICENSE("GPL");
...@@ -78,3 +78,4 @@ static struct platform_driver clk_mt8186_mdp_drv = { ...@@ -78,3 +78,4 @@ static struct platform_driver clk_mt8186_mdp_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_mdp_drv); module_platform_driver(clk_mt8186_mdp_drv);
MODULE_LICENSE("GPL");
...@@ -47,3 +47,4 @@ static struct platform_driver clk_mt8186_mfg_drv = { ...@@ -47,3 +47,4 @@ static struct platform_driver clk_mt8186_mfg_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_mfg_drv); module_platform_driver(clk_mt8186_mfg_drv);
MODULE_LICENSE("GPL");
...@@ -76,3 +76,4 @@ static struct platform_driver clk_mt8186_mm_drv = { ...@@ -76,3 +76,4 @@ static struct platform_driver clk_mt8186_mm_drv = {
.id_table = clk_mt8186_mm_id_table, .id_table = clk_mt8186_mm_id_table,
}; };
module_platform_driver(clk_mt8186_mm_drv); module_platform_driver(clk_mt8186_mm_drv);
MODULE_LICENSE("GPL");
...@@ -731,3 +731,4 @@ static struct platform_driver clk_mt8186_topck_drv = { ...@@ -731,3 +731,4 @@ static struct platform_driver clk_mt8186_topck_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_topck_drv); module_platform_driver(clk_mt8186_topck_drv);
MODULE_LICENSE("GPL");
...@@ -86,3 +86,4 @@ static struct platform_driver clk_mt8186_vdec_drv = { ...@@ -86,3 +86,4 @@ static struct platform_driver clk_mt8186_vdec_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_vdec_drv); module_platform_driver(clk_mt8186_vdec_drv);
MODULE_LICENSE("GPL");
...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt8186_venc_drv = { ...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt8186_venc_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_venc_drv); module_platform_driver(clk_mt8186_venc_drv);
MODULE_LICENSE("GPL");
...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt8186_wpe_drv = { ...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt8186_wpe_drv = {
}, },
}; };
module_platform_driver(clk_mt8186_wpe_drv); module_platform_driver(clk_mt8186_wpe_drv);
MODULE_LICENSE("GPL");
...@@ -117,3 +117,4 @@ static struct platform_driver clk_mt8192_aud_drv = { ...@@ -117,3 +117,4 @@ static struct platform_driver clk_mt8192_aud_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_aud_drv); module_platform_driver(clk_mt8192_aud_drv);
MODULE_LICENSE("GPL");
...@@ -105,3 +105,4 @@ static struct platform_driver clk_mt8192_cam_drv = { ...@@ -105,3 +105,4 @@ static struct platform_driver clk_mt8192_cam_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_cam_drv); module_platform_driver(clk_mt8192_cam_drv);
MODULE_LICENSE("GPL");
...@@ -68,3 +68,4 @@ static struct platform_driver clk_mt8192_img_drv = { ...@@ -68,3 +68,4 @@ static struct platform_driver clk_mt8192_img_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_img_drv); module_platform_driver(clk_mt8192_img_drv);
MODULE_LICENSE("GPL");
...@@ -117,3 +117,4 @@ static struct platform_driver clk_mt8192_imp_iic_wrap_drv = { ...@@ -117,3 +117,4 @@ static struct platform_driver clk_mt8192_imp_iic_wrap_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_imp_iic_wrap_drv); module_platform_driver(clk_mt8192_imp_iic_wrap_drv);
MODULE_LICENSE("GPL");
...@@ -55,3 +55,4 @@ static struct platform_driver clk_mt8192_ipe_drv = { ...@@ -55,3 +55,4 @@ static struct platform_driver clk_mt8192_ipe_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_ipe_drv); module_platform_driver(clk_mt8192_ipe_drv);
MODULE_LICENSE("GPL");
...@@ -80,3 +80,4 @@ static struct platform_driver clk_mt8192_mdp_drv = { ...@@ -80,3 +80,4 @@ static struct platform_driver clk_mt8192_mdp_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_mdp_drv); module_platform_driver(clk_mt8192_mdp_drv);
MODULE_LICENSE("GPL");
...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt8192_mfg_drv = { ...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt8192_mfg_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_mfg_drv); module_platform_driver(clk_mt8192_mfg_drv);
MODULE_LICENSE("GPL");
...@@ -99,3 +99,4 @@ static struct platform_driver clk_mt8192_mm_drv = { ...@@ -99,3 +99,4 @@ static struct platform_driver clk_mt8192_mm_drv = {
.id_table = clk_mt8192_mm_id_table, .id_table = clk_mt8192_mm_id_table,
}; };
module_platform_driver(clk_mt8192_mm_drv); module_platform_driver(clk_mt8192_mm_drv);
MODULE_LICENSE("GPL");
...@@ -62,3 +62,4 @@ static struct platform_driver clk_mt8192_msdc_drv = { ...@@ -62,3 +62,4 @@ static struct platform_driver clk_mt8192_msdc_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_msdc_drv); module_platform_driver(clk_mt8192_msdc_drv);
MODULE_LICENSE("GPL");
...@@ -48,3 +48,4 @@ static struct platform_driver clk_mt8192_scp_adsp_drv = { ...@@ -48,3 +48,4 @@ static struct platform_driver clk_mt8192_scp_adsp_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_scp_adsp_drv); module_platform_driver(clk_mt8192_scp_adsp_drv);
MODULE_LICENSE("GPL");
...@@ -92,3 +92,4 @@ static struct platform_driver clk_mt8192_vdec_drv = { ...@@ -92,3 +92,4 @@ static struct platform_driver clk_mt8192_vdec_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_vdec_drv); module_platform_driver(clk_mt8192_vdec_drv);
MODULE_LICENSE("GPL");
...@@ -51,3 +51,4 @@ static struct platform_driver clk_mt8192_venc_drv = { ...@@ -51,3 +51,4 @@ static struct platform_driver clk_mt8192_venc_drv = {
}, },
}; };
module_platform_driver(clk_mt8192_venc_drv); module_platform_driver(clk_mt8192_venc_drv);
MODULE_LICENSE("GPL");
...@@ -1242,3 +1242,4 @@ static int __init clk_mt8192_init(void) ...@@ -1242,3 +1242,4 @@ static int __init clk_mt8192_init(void)
} }
arch_initcall(clk_mt8192_init); arch_initcall(clk_mt8192_init);
MODULE_LICENSE("GPL");
...@@ -231,3 +231,4 @@ static struct platform_driver clk_mt8195_apmixed_drv = { ...@@ -231,3 +231,4 @@ static struct platform_driver clk_mt8195_apmixed_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_apmixed_drv); module_platform_driver(clk_mt8195_apmixed_drv);
MODULE_LICENSE("GPL");
...@@ -111,3 +111,4 @@ static struct platform_driver clk_mt8195_apusys_pll_drv = { ...@@ -111,3 +111,4 @@ static struct platform_driver clk_mt8195_apusys_pll_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_apusys_pll_drv); module_platform_driver(clk_mt8195_apusys_pll_drv);
MODULE_LICENSE("GPL");
...@@ -141,3 +141,4 @@ static struct platform_driver clk_mt8195_cam_drv = { ...@@ -141,3 +141,4 @@ static struct platform_driver clk_mt8195_cam_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_cam_drv); module_platform_driver(clk_mt8195_cam_drv);
MODULE_LICENSE("GPL");
...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt8195_ccu_drv = { ...@@ -49,3 +49,4 @@ static struct platform_driver clk_mt8195_ccu_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_ccu_drv); module_platform_driver(clk_mt8195_ccu_drv);
MODULE_LICENSE("GPL");
...@@ -95,3 +95,4 @@ static struct platform_driver clk_mt8195_img_drv = { ...@@ -95,3 +95,4 @@ static struct platform_driver clk_mt8195_img_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_img_drv); module_platform_driver(clk_mt8195_img_drv);
MODULE_LICENSE("GPL");
...@@ -65,3 +65,4 @@ static struct platform_driver clk_mt8195_imp_iic_wrap_drv = { ...@@ -65,3 +65,4 @@ static struct platform_driver clk_mt8195_imp_iic_wrap_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_imp_iic_wrap_drv); module_platform_driver(clk_mt8195_imp_iic_wrap_drv);
MODULE_LICENSE("GPL");
...@@ -239,3 +239,4 @@ static struct platform_driver clk_mt8195_infra_ao_drv = { ...@@ -239,3 +239,4 @@ static struct platform_driver clk_mt8195_infra_ao_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_infra_ao_drv); module_platform_driver(clk_mt8195_infra_ao_drv);
MODULE_LICENSE("GPL");
...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt8195_ipe_drv = { ...@@ -50,3 +50,4 @@ static struct platform_driver clk_mt8195_ipe_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_ipe_drv); module_platform_driver(clk_mt8195_ipe_drv);
MODULE_LICENSE("GPL");
...@@ -48,3 +48,4 @@ static struct platform_driver clk_mt8195_mfg_drv = { ...@@ -48,3 +48,4 @@ static struct platform_driver clk_mt8195_mfg_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_mfg_drv); module_platform_driver(clk_mt8195_mfg_drv);
MODULE_LICENSE("GPL");
...@@ -61,3 +61,4 @@ static struct platform_driver clk_mt8195_peri_ao_drv = { ...@@ -61,3 +61,4 @@ static struct platform_driver clk_mt8195_peri_ao_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_peri_ao_drv); module_platform_driver(clk_mt8195_peri_ao_drv);
MODULE_LICENSE("GPL");
...@@ -46,3 +46,4 @@ static struct platform_driver clk_mt8195_scp_adsp_drv = { ...@@ -46,3 +46,4 @@ static struct platform_driver clk_mt8195_scp_adsp_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_scp_adsp_drv); module_platform_driver(clk_mt8195_scp_adsp_drv);
MODULE_LICENSE("GPL");
...@@ -1341,3 +1341,4 @@ static struct platform_driver clk_mt8195_topck_drv = { ...@@ -1341,3 +1341,4 @@ static struct platform_driver clk_mt8195_topck_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_topck_drv); module_platform_driver(clk_mt8195_topck_drv);
MODULE_LICENSE("GPL");
...@@ -103,3 +103,4 @@ static struct platform_driver clk_mt8195_vdec_drv = { ...@@ -103,3 +103,4 @@ static struct platform_driver clk_mt8195_vdec_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_vdec_drv); module_platform_driver(clk_mt8195_vdec_drv);
MODULE_LICENSE("GPL");
...@@ -113,3 +113,4 @@ static struct platform_driver clk_mt8195_vdo0_drv = { ...@@ -113,3 +113,4 @@ static struct platform_driver clk_mt8195_vdo0_drv = {
.id_table = clk_mt8195_vdo0_id_table, .id_table = clk_mt8195_vdo0_id_table,
}; };
module_platform_driver(clk_mt8195_vdo0_drv); module_platform_driver(clk_mt8195_vdo0_drv);
MODULE_LICENSE("GPL");
...@@ -140,3 +140,4 @@ static struct platform_driver clk_mt8195_vdo1_drv = { ...@@ -140,3 +140,4 @@ static struct platform_driver clk_mt8195_vdo1_drv = {
.id_table = clk_mt8195_vdo1_id_table, .id_table = clk_mt8195_vdo1_id_table,
}; };
module_platform_driver(clk_mt8195_vdo1_drv); module_platform_driver(clk_mt8195_vdo1_drv);
MODULE_LICENSE("GPL");
...@@ -68,3 +68,4 @@ static struct platform_driver clk_mt8195_venc_drv = { ...@@ -68,3 +68,4 @@ static struct platform_driver clk_mt8195_venc_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_venc_drv); module_platform_driver(clk_mt8195_venc_drv);
MODULE_LICENSE("GPL");
...@@ -105,3 +105,4 @@ static struct platform_driver clk_mt8195_vpp0_drv = { ...@@ -105,3 +105,4 @@ static struct platform_driver clk_mt8195_vpp0_drv = {
.id_table = clk_mt8195_vpp0_id_table, .id_table = clk_mt8195_vpp0_id_table,
}; };
module_platform_driver(clk_mt8195_vpp0_drv); module_platform_driver(clk_mt8195_vpp0_drv);
MODULE_LICENSE("GPL");
...@@ -103,3 +103,4 @@ static struct platform_driver clk_mt8195_vpp1_drv = { ...@@ -103,3 +103,4 @@ static struct platform_driver clk_mt8195_vpp1_drv = {
.id_table = clk_mt8195_vpp1_id_table, .id_table = clk_mt8195_vpp1_id_table,
}; };
module_platform_driver(clk_mt8195_vpp1_drv); module_platform_driver(clk_mt8195_vpp1_drv);
MODULE_LICENSE("GPL");
...@@ -142,3 +142,4 @@ static struct platform_driver clk_mt8195_wpe_drv = { ...@@ -142,3 +142,4 @@ static struct platform_driver clk_mt8195_wpe_drv = {
}, },
}; };
module_platform_driver(clk_mt8195_wpe_drv); module_platform_driver(clk_mt8195_wpe_drv);
MODULE_LICENSE("GPL");
...@@ -162,3 +162,4 @@ static struct platform_driver clk_mt8365_apmixed_drv = { ...@@ -162,3 +162,4 @@ static struct platform_driver clk_mt8365_apmixed_drv = {
}, },
}; };
builtin_platform_driver(clk_mt8365_apmixed_drv) builtin_platform_driver(clk_mt8365_apmixed_drv)
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment