Skip to content

Commit 1068763

Browse files
AngeloGioacchino Del Regnombgg
authored andcommitted
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 <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent 0fe09bf commit 1068763

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/soc/mediatek/mtk-mmsys.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ static const struct of_device_id of_match_mtk_mmsys[] = {
435435
{ .compatible = "mediatek,mt8365-mmsys", .data = &mt8365_mmsys_driver_data },
436436
{ /* sentinel */ }
437437
};
438+
MODULE_DEVICE_TABLE(of, of_match_mtk_mmsys);
438439

439440
static struct platform_driver mtk_mmsys_drv = {
440441
.driver = {

0 commit comments

Comments
 (0)