]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt1015: set snd_soc_dai_ops in rt1015_dai driver
authorYueHaibing <yuehaibing@huawei.com>
Mon, 2 Mar 2020 07:05:22 +0000 (15:05 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2020 14:31:45 +0000 (14:31 +0000)
commit7cd047e0e8588e69a3744ffbebb0a10a3a632509
tree5e092abfb63554e844e8988d9d7c5c6068611738
parent934be8d16fde5225c9186e2faa947b6f12d924e3
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: 8a230ecaa1bc ("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>
sound/soc/codecs/rt1015.c