diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-03-02 15:05:22 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-02 14:31:45 +0000 |
commit | a79ee2e095c0a60c32d5b1fce39d58e0fc4d9ec5 (patch) | |
tree | 5e092abfb63554e844e8988d9d7c5c6068611738 /sound/soc | |
parent | 72c3b2b09fcdaa6a63e17e9a715e2a8236af529a (diff) | |
download | linux-a79ee2e095c0a60c32d5b1fce39d58e0fc4d9ec5.tar.bz2 |
ASoC: rt1015: set snd_soc_dai_ops in rt1015_dai driver
snd_soc_dai_driver should set ops in rt1015_dai driver.
Also make the two variable static to fix sparse warnings.
Fixes: df31007400c3 ("ASoC: rt1015: add rt1015 amplifier driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200302070522.48104-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/rt1015.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c index c118d030bd2d..100b8c89d537 100644 --- a/sound/soc/codecs/rt1015.c +++ b/sound/soc/codecs/rt1015.c @@ -857,6 +857,7 @@ static struct snd_soc_dai_driver rt1015_dai[] = { .rates = RT1015_STEREO_RATES, .formats = RT1015_FORMATS, }, + .ops = &rt1015_aif_dai_ops, } }; |