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

From: Stephen Rothwell <[email-masked]>
Date: Thu, 30 Apr 2015 12:05:34 +1000

Hi all,

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

sound/soc/codecs/rt5645.c: In function 'rt5645_set_jack_detect':
sound/soc/codecs/rt5645.c:2555:2: error: implicit declaration of function 'rt5645_irq_detection' [-Werror=implicit-function-declaration]
  rt5645_irq_detection(rt5645);
  ^
sound/soc/codecs/rt5645.c: At top level:
sound/soc/codecs/rt5645.c:2591:12: error: static declaration of 'rt5645_irq_detection' follows non-static declaration
 static int rt5645_irq_detection(struct rt5645_priv *rt5645)
            ^
sound/soc/codecs/rt5645.c:2555:2: note: previous implicit declaration of 'rt5645_irq_detection' was here
  rt5645_irq_detection(rt5645);
  ^
sound/soc/codecs/rt5645.c:2591:12: warning: 'rt5645_irq_detection' defined but not used [-Wunused-function]
 static int rt5645_irq_detection(struct rt5645_priv *rt5645)
            ^

Caused by commit 6e747d5311fc ("ASoC: rt5645: Adds push button support
for rt5650").

I have used the sound-asoc tree from next-20150429 for today.
-- 
Cheers,
Stephen Rothwell                    [email-masked]