projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1bb4a
)
ASoC: tda7419: fix module autoloading
author
Liao Chen
<liaochen4@huawei.com>
Mon, 26 Aug 2024 08:49:23 +0000
(08:49 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 26 Aug 2024 14:52:08 +0000
(15:52 +0100)
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>
sound/soc/codecs/tda7419.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/tda7419.c
b/sound/soc/codecs/tda7419.c
index 386b99c8023bdc53790110ac5536b2d4e8dc3593..7d6fcba9986ea4e1e6ad676431ca3a28638e9388 100644
(file)
--- 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 = {