[PATCH 1/2] ASoC: ak4458: Add MODULE_DEVICE_TABLE
Shengjiu Wang
shengjiu.wang at nxp.com
Wed Feb 24 07:57:51 CET 2021
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 at vger.kernel.org>
Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>
---
sound/soc/codecs/ak4458.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/ak4458.c b/sound/soc/codecs/ak4458.c
index 472caad17012..85a1d00894a9 100644
--- 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 = {
--
2.27.0
More information about the Alsa-devel
mailing list