Skip to content

Commit 934b445

Browse files
Liao Chenbroonie
authored andcommitted
ASoC: tda7419: fix module autoloading
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>
1 parent 8e1bb4a commit 934b445

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/codecs/tda7419.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ static const struct of_device_id tda7419_of_match[] = {
623623
{ .compatible = "st,tda7419" },
624624
{ },
625625
};
626+
MODULE_DEVICE_TABLE(of, tda7419_of_match);
626627

627628
static struct i2c_driver tda7419_driver = {
628629
.driver = {

0 commit comments

Comments
 (0)