diff mbox series

[1/2] ASoC: ak4458: Add MODULE_DEVICE_TABLE

Message ID 1614149872-25510-1-git-send-email-shengjiu.wang@nxp.com
State Accepted
Commit 4ec5b96775a88dd9b1c3ba1d23c43c478cab95a2
Headers show
Series [1/2] ASoC: ak4458: Add MODULE_DEVICE_TABLE | expand

Commit Message

Shengjiu Wang Feb. 24, 2021, 6:57 a.m. UTC
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>
---
 sound/soc/codecs/ak4458.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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 = {