]> git.itanic.dy.fi Git - linux-stable/commitdiff
ASoC: mediatek: mt8195-mt6359: Register to module device table
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Mon, 7 Nov 2022 16:04:37 +0000 (11:04 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 9 Nov 2022 13:44:31 +0000 (13:44 +0000)
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20221107160437.740353-10-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-mt6359.c

index 480ed3e08d5bf9ee31074fc3d58f865910bdcf82..61be66f47723c16d73fb787bfca49c33cb658278 100644 (file)
@@ -1544,6 +1544,7 @@ static const struct of_device_id mt8195_mt6359_dt_match[] = {
        },
        {},
 };
+MODULE_DEVICE_TABLE(of, mt8195_mt6359_dt_match);
 
 static struct platform_driver mt8195_mt6359_driver = {
        .driver = {