]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cq93vc: duplicated callback function goes to component
authorArnd Bergmann <arnd@arndb.de>
Thu, 22 Sep 2016 09:37:32 +0000 (11:37 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 22 Sep 2016 10:23:59 +0000 (11:23 +0100)
commitcb40cb3e47ea23480bfa05d9f5e05d355d6d5adb
tree33fdb322fce4a3f5d1b3bfd8d75a7f8772c7d024
parent3f31a22205ed2bd42c43b7b1a96bbd56dbb96fde
ASoC: cq93vc: duplicated callback function goes to component

A cleanup removed a couple of members from struct snd_soc_codec_driver
after changing codec drivers to no longer use them, but one codec
was missed in the process, giving a build error:

sound/soc/codecs/cq93vc.c:134:2: error: unknown field 'controls' specified in initializer
  .controls = cq93vc_snd_controls,

This moves the members from the cq93vc codec driver to its component driver
just like the other codecs already had.

Fixes: bea50fe822e6 ("ASoC: remove codec duplicated callback function")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cq93vc.c