[PATCH 5.4 17/21] ASoC: ak5558: Add MODULE_DEVICE_TABLE

Greg Kroah-Hartman
2021-05-05T12:05:14Z

From: Shengjiu Wang <shengjiu.wang@nxp.com>

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@vger.kernel.org>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1614149872-25510-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
sound/soc/codecs/ak5558.c | 1 +
1 file changed, 1 insertion(+)

--- a/sound/soc/codecs/ak5558.c
+++ b/sound/soc/codecs/ak5558.c
@@ -400,6 +400,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);