aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/lpass-tx-macro.c
diff options
context:
space:
mode:
authorBixuan Cui <[email protected]>2021-05-08 03:15:12 +0000
committerMark Brown <[email protected]>2021-05-10 12:00:22 +0000
commit14c0c423746fe7232a093a68809a4bc6233eed60 (patch)
tree33428271162cd9f9e2cc2f3d9f7ae45555fe13dc /sound/soc/codecs/lpass-tx-macro.c
parentASoC: codecs: lpass-rx-macro: add missing MODULE_DEVICE_TABLE (diff)
downloadkernel-14c0c423746fe7232a093a68809a4bc6233eed60.tar.gz
kernel-14c0c423746fe7232a093a68809a4bc6233eed60.zip
ASoC: codecs: lpass-tx-macro: add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Bixuan Cui <[email protected]> Reviewed-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/codecs/lpass-tx-macro.c')
-rw-r--r--sound/soc/codecs/lpass-tx-macro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/lpass-tx-macro.c b/sound/soc/codecs/lpass-tx-macro.c
index 4eede9ad57bf..3d3a6e31551b 100644
--- a/sound/soc/codecs/lpass-tx-macro.c
+++ b/sound/soc/codecs/lpass-tx-macro.c
@@ -1846,6 +1846,7 @@ static const struct of_device_id tx_macro_dt_match[] = {
{ .compatible = "qcom,sm8250-lpass-tx-macro" },
{ }
};
+MODULE_DEVICE_TABLE(of, tx_macro_dt_match);
static struct platform_driver tx_macro_driver = {
.driver = {
.name = "tx_macro",