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