ASoC: nau8810: fix compile warning in loopback switch control
authorJohn Hsu <KCHSU0@nuvoton.com>
Tue, 23 Aug 2016 08:02:49 +0000 (16:02 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 23 Aug 2016 10:40:19 +0000 (11:40 +0100)
commit78822e36dca8fe8bc83e7847508891b59f3f8603
treeb3f9e1eb5fd54dd4fca6fcb4cb57ed32aa1c640f
parentb6970b48e384a602bdb9d6246cded83e150d4660
ASoC: nau8810: fix compile warning in loopback switch control

Thank Stephen Rothwell for the message.
The patch is to fix the following compile error.

sound/soc/codecs/nau8810.c:441:3: error: initialization from incompatible
pointer type [-Werror=incompatible-pointer-types]
SND_SOC_DAPM_SWITCH("Digital Loopback", SND_SOC_NOPM, 0, 0,
&nau8810_loopback),
^
sound/soc/codecs/nau8810.c:441:3: note: (near initialization for
'nau8810_dapm_widgets[11].kcontrol_news')

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8810.c
This page took 0.026014 seconds and 5 git commands to generate.