diff options
author | Mark Brown <broonie@kernel.org> | 2024-08-26 21:36:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-26 21:36:52 +0100 |
commit | 1165e70a4a5d8b4da77002ac22b4c5397f30e00d (patch) | |
tree | 0a81ae6ada402fafe778c551507dbfbe8c36d8ef /sound/soc/codecs/chv3-codec.c | |
parent | 22652022c7eef3c4ad6ab5f13a6dfc7f25f853d4 (diff) | |
parent | 6ba20539ac6b12ea757b3bfe11adf8de1672d7b8 (diff) |
ASoC: fix module autoloading
Merge series from Liao Chen <liaochen4@huawei.com>:
This patchset aims to enable autoloading of some use modules.
By registering MDT, the kernel is allowed to automatically bind
modules to devices that match the specified compatible strings.
Diffstat (limited to 'sound/soc/codecs/chv3-codec.c')
-rw-r--r-- | sound/soc/codecs/chv3-codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/chv3-codec.c b/sound/soc/codecs/chv3-codec.c index ab99effa6874..40020500b1fe 100644 --- a/sound/soc/codecs/chv3-codec.c +++ b/sound/soc/codecs/chv3-codec.c @@ -26,6 +26,7 @@ static const struct of_device_id chv3_codec_of_match[] = { { .compatible = "google,chv3-codec", }, { } }; +MODULE_DEVICE_TABLE(of, chv3_codec_of_match); static struct platform_driver chv3_codec_platform_driver = { .driver = { |