ASoC: codecs: lpass-rx-macro: add missing MODULE_DEVICE_TABLE

Message ID 20210510103844.1532-1-srinivas.kandagatla@linaro.org
State Accepted
Commit d4335d058f8430a0ce2b43dab9531f3a3cf9fe2c
Headers show
Series
  • ASoC: codecs: lpass-rx-macro: add missing MODULE_DEVICE_TABLE
Related show

Commit Message

Srinivas Kandagatla May 10, 2021, 10:38 a.m.
Fix module loading by adding missing MODULE_DEVICE_TABLE.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 sound/soc/codecs/lpass-rx-macro.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/sound/soc/codecs/lpass-rx-macro.c b/sound/soc/codecs/lpass-rx-macro.c
index b0ebfc8d180c..171ab7f519c0 100644
--- a/sound/soc/codecs/lpass-rx-macro.c
+++ b/sound/soc/codecs/lpass-rx-macro.c
@@ -3579,6 +3579,7 @@  static const struct of_device_id rx_macro_dt_match[] = {
 	{ .compatible = "qcom,sm8250-lpass-rx-macro" },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, rx_macro_dt_match);
 
 static struct platform_driver rx_macro_driver = {
 	.driver = {