summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorLiao Chen <liaochen4@huawei.com>2024-08-26 08:49:23 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-08 16:20:25 +0100
commit79d978f254b88f6642c29a628d4beceb39cd30ae (patch)
treee502470563ab80b3b6bcafbe39c7b5dc370faef6 /sound/soc
parent16c1e5d5228f26f120e12e6ca55c59c3a5e6dece (diff)
downloadlinux-79d978f254b88f6642c29a628d4beceb39cd30ae.tar.gz
linux-79d978f254b88f6642c29a628d4beceb39cd30ae.tar.bz2
linux-79d978f254b88f6642c29a628d4beceb39cd30ae.zip
ASoC: tda7419: fix module autoloading
[ Upstream commit 934b44589da9aa300201a00fe139c5c54f421563 ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen <liaochen4@huawei.com> Link: https://patch.msgid.link/20240826084924.368387-4-liaochen4@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/tda7419.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tda7419.c b/sound/soc/codecs/tda7419.c
index 2bf4f5e8af27..9d8753b28e36 100644
--- a/sound/soc/codecs/tda7419.c
+++ b/sound/soc/codecs/tda7419.c
@@ -629,6 +629,7 @@ static const struct of_device_id tda7419_of_match[] = {
{ .compatible = "st,tda7419" },
{ },
};
+MODULE_DEVICE_TABLE(of, tda7419_of_match);
static struct i2c_driver tda7419_driver = {
.driver = {