[PATCH 5.11 28/31] ASoC: ak4458: Add MODULE_DEVICE_TABLE

From: Greg Kroah-Hartman
Date: Wed May 05 2021 - 08:14:38 EST


From: Shengjiu Wang <shengjiu.wang@xxxxxxx>

commit f84b4524005238fc9fd5cf615bb426fa40a99494 upstream.

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

--- a/sound/soc/codecs/ak4458.c
+++ b/sound/soc/codecs/ak4458.c
@@ -823,6 +823,7 @@ static struct i2c_driver ak4458_i2c_driv
.probe_new = ak4458_i2c_probe,
.remove = ak4458_i2c_remove,
};
+MODULE_DEVICE_TABLE(of, ak4458_of_match);

module_i2c_driver(ak4458_i2c_driver);