soc: mediatek: mtk-mmsys: Add MODULE_DEVICE_TABLE() to allow auto-load
Allow module auto-loading by adding a MODULE_DEVICE_TABLE for of_match_mmsys. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20230222094253.23678-5-angelogioacchino.delregno@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
0fe09bf32a
commit
1068763230
|
@ -435,6 +435,7 @@ static const struct of_device_id of_match_mtk_mmsys[] = {
|
|||
{ .compatible = "mediatek,mt8365-mmsys", .data = &mt8365_mmsys_driver_data },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, of_match_mtk_mmsys);
|
||||
|
||||
static struct platform_driver mtk_mmsys_drv = {
|
||||
.driver = {
|
||||
|
|
Loading…
Reference in New Issue