linux-next: build failure after merge of the sound-asoc tree
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.
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Dear All,
I will send a patch to fix it immediately.
Thanks.
Bard Liao
Computer Peripherals Business Unit
Realtek Semiconductor Corp.
886-3-578-0211 ext. 3334
[email protected]
Quoted 40 lines
-----Original Message-----
From: Stephen Rothwell [mailto:[email protected]]
Sent: Thursday, April 30, 2015 10:06 AM
To: Mark Brown; Liam Girdwood
Cc: [email protected]; [email protected]; Bard Liao
Subject: linux-next: build failure after merge of the sound-asoc treeHi 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 intrt5645_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 intrt5645_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 protected]------Please consider the environment before printing this e-mail.