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:
ae61a33
)
ASoC: google: fix module autoloading
author
Liao Chen
<liaochen4@huawei.com>
Mon, 26 Aug 2024 08:49:22 +0000
(08:49 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 26 Aug 2024 14:52:07 +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-3-liaochen4@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/google/chv3-i2s.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/google/chv3-i2s.c
b/sound/soc/google/chv3-i2s.c
index 08e558f24af8657408823970f65a68bc85395594..0ff24653d49f47fcc3c9d5a96b99ffca9d11effe 100644
(file)
--- a/
sound/soc/google/chv3-i2s.c
+++ b/
sound/soc/google/chv3-i2s.c
@@
-322,6
+322,7
@@
static const struct of_device_id chv3_i2s_of_match[] = {
{ .compatible = "google,chv3-i2s" },
{},
};
+MODULE_DEVICE_TABLE(of, chv3_i2s_of_match);
static struct platform_driver chv3_i2s_driver = {
.probe = chv3_i2s_probe,