aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBixuan Cui <[email protected]>2021-05-08 11:15:12 +0800
committerMark Brown <[email protected]>2021-05-10 13:00:22 +0100
commit14c0c423746fe7232a093a68809a4bc6233eed60 (patch)
tree33428271162cd9f9e2cc2f3d9f7ae45555fe13dc
parentd4335d058f8430a0ce2b43dab9531f3a3cf9fe2c (diff)
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]>
-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",