diff options
author | Bixuan Cui <cuibixuan@huawei.com> | 2021-05-08 05:15:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-10 14:00:22 +0200 |
commit | 14c0c423746fe7232a093a68809a4bc6233eed60 (patch) | |
tree | 33428271162cd9f9e2cc2f3d9f7ae45555fe13dc /sound | |
parent | ASoC: codecs: lpass-rx-macro: add missing MODULE_DEVICE_TABLE (diff) | |
download | linux-14c0c423746fe7232a093a68809a4bc6233eed60.tar.xz linux-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 <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210508031512.53783-1-cuibixuan@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/lpass-tx-macro.c | 1 |
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", |