]> git.itanic.dy.fi Git - linux-stable/commitdiff
ASoC: mediatek: mt8192-mt6359: Register to module device table
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Mon, 7 Nov 2022 16:04:36 +0000 (11:04 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 9 Nov 2022 13:44:30 +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-9-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c

index b93c3237ef2d6934b3462cdc57b41df1e5a8764c..16660eda577e23c05817b635e4b91d42493e222a 100644 (file)
@@ -1261,6 +1261,7 @@ static const struct of_device_id mt8192_mt6359_dt_match[] = {
        },
        {}
 };
+MODULE_DEVICE_TABLE(of, mt8192_mt6359_dt_match);
 #endif
 
 static const struct dev_pm_ops mt8192_mt6359_pm_ops = {