diff mbox series

[2/2] ASoC: ak5558: Add MODULE_DEVICE_TABLE

Message ID 1614149872-25510-2-git-send-email-shengjiu.wang@nxp.com (mailing list archive)
State Accepted
Commit 741c8397e5d0b339fb3e614a9ff5cb4bf7ae1a65
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: 920884777480 ("ASoC: ak5558: Add support for AK5558 ADC driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
 sound/soc/codecs/ak5558.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/sound/soc/codecs/ak5558.c b/sound/soc/codecs/ak5558.c
index 8a32b0139cb0..85bdd0534180 100644
--- 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 = {