[PATCH 5.10 27/29] ASoC: ak5558: Add MODULE_DEVICE_TABLE
From: Greg Kroah-Hartman
Date: Wed May 05 2021 - 08:10:00 EST
From: Shengjiu Wang <shengjiu.wang@xxxxxxx>
commit 741c8397e5d0b339fb3e614a9ff5cb4bf7ae1a65 upstream.
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@xxxxxxxxxxxxxxx>
Signed-off-by: Shengjiu Wang <shengjiu.wang@xxxxxxx>
Link: https://lore.kernel.org/r/1614149872-25510-2-git-send-email-shengjiu.wang@xxxxxxx
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
sound/soc/codecs/ak5558.c | 1 +
1 file changed, 1 insertion(+)
--- a/sound/soc/codecs/ak5558.c
+++ b/sound/soc/codecs/ak5558.c
@@ -430,6 +430,7 @@ static struct i2c_driver ak5558_i2c_driv
.probe_new = ak5558_i2c_probe,
.remove = ak5558_i2c_remove,
};
+MODULE_DEVICE_TABLE(of, ak5558_i2c_dt_ids);
module_i2c_driver(ak5558_i2c_driver);