Subject: linux-next: build failure after merge of the sound-asoc tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 23 Aug 2016 12:27:14 +1000

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/sound/soc.h:415:0,
                 from sound/soc/codecs/nau8810.c:27:
sound/soc/codecs/nau8810.c:441:3: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
   &nau8810_loopback),
   ^
include/sound/soc-dapm.h:111:19: note: in definition of macro 'SND_SOC_DAPM_SWITCH'
  .kcontrol_news = wcontrols, .num_kcontrols = 1}
                   ^
sound/soc/codecs/nau8810.c:441:3: note: (near initialization for 'nau8810_dapm_widgets[11].kcontrol_news')
   &nau8810_loopback),
   ^
include/sound/soc-dapm.h:111:19: note: in definition of macro 'SND_SOC_DAPM_SWITCH'
  .kcontrol_news = wcontrols, .num_kcontrols = 1}
                   ^

Caused by commit

  b6970b48e384 ("ASoC: nau8810: Add driver for Nuvoton codec chip NAU88C10")

I have used the sound-asoc tree from next-20160822 for today.

-- 
Cheers,
Stephen Rothwell