OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8726396
)
ASoC: ak4458: Add MODULE_DEVICE_TABLE
author
Shengjiu Wang
<shengjiu.wang@nxp.com>
Wed, 24 Feb 2021 06:57:51 +0000
(14:57 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 10 Mar 2021 12:49:36 +0000
(12:49 +0000)
Add missed MODULE_DEVICE_TABLE for the driver can be loaded
automatically at boot.
Fixes:
08660086eff9
("ASoC: ak4458: Add support for AK4458 DAC driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link:
https://lore.kernel.org/r/1614149872-25510-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4458.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ak4458.c
b/sound/soc/codecs/ak4458.c
index
472caad
..
85a1d00
100644
(file)
--- a/
sound/soc/codecs/ak4458.c
+++ b/
sound/soc/codecs/ak4458.c
@@
-812,6
+812,7
@@
static const struct of_device_id ak4458_of_match[] = {
{ .compatible = "asahi-kasei,ak4497", .data = &ak4497_drvdata},
{ },
};
+MODULE_DEVICE_TABLE(of, ak4458_of_match);
static struct i2c_driver ak4458_i2c_driver = {
.driver = {