summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiao Chen <liaochen4@huawei.com>2024-08-26 08:49:23 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-30 16:29:30 +0200
commit09ab4b2b460d52cf25756feea8b679c5ff79078a (patch)
tree502e781dafeda6b5c4c12778f13505381867aa1e
parentca50510bac3cd55b6acc38e9978d4a96e074c4e4 (diff)
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>
-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 386b99c8023b..7d6fcba9986e 100644
--- a/sound/soc/codecs/tda7419.c
+++ b/sound/soc/codecs/tda7419.c
@@ -623,6 +623,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 = {