projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec5b96
)
ASoC: ak5558: Add MODULE_DEVICE_TABLE
author
Shengjiu Wang
<shengjiu.wang@nxp.com>
Wed, 24 Feb 2021 06:57:52 +0000
(14:57 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 10 Mar 2021 12:49:37 +0000
(12:49 +0000)
Add missed MODULE_DEVICE_TABLE for the driver can be loaded
automatically at boot.
Fixes:
920884777480
("ASoC: ak5558: Add support for AK5558 ADC driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link:
https://lore.kernel.org/r/1614149872-25510-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak5558.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ak5558.c
b/sound/soc/codecs/ak5558.c
index
8a32b01
..
85bdd05
100644
(file)
--- a/
sound/soc/codecs/ak5558.c
+++ b/
sound/soc/codecs/ak5558.c
@@
-419,6
+419,7
@@
static const struct of_device_id ak5558_i2c_dt_ids[] __maybe_unused = {
{ .compatible = "asahi-kasei,ak5558"},
{ }
};
+MODULE_DEVICE_TABLE(of, ak5558_i2c_dt_ids);
static struct i2c_driver ak5558_i2c_driver = {
.driver = {