linux-next: build failure after merge of the sound-asoc tree
Subsystems (4)
Hi all,
After merging the sound-asoc tree, today's linux-next build (powerpc allyesconfig) failed like this:
sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_suspend':sound/soc/sti/sti_uniperif.c:81:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
ret = pinctrl_pm_select_sleep_state(uni->dev);
^sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_resume':sound/soc/sti/sti_uniperif.c:102:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
ret = pinctrl_pm_select_default_state(uni->dev);
^
Caused by commit
f3bd847eb0a7 ("ASoC: sti: Add uniperipheral dai driver")
I have added this fix patch for today:
From: Stephen Rothwell <[email protected]>
Date: Fri, 17 Jul 2015 14:21:37 +1000
Subject: [PATCH] ASoC: sti: included needed header file
--- sound/soc/sti/sti_uniperif.c | 1 + 1 file changed, 1 insertion(+)
sound/soc/sti/sti_uniperif.c +1 -0
@@ -6,6 +6,7 @@*/ #include <linux/module.h> +#include <linux/pinctrl/consumer.h> #include "uniperif.h"
Signature · 5 lines
2.1.4 -- Cheers, Stephen Rothwell [email protected]
Hi all,
Quoted 13 lines · On Fri, 17 Jul 2015 14:25:01 +1000 Stephen Rothwell <[email protected]>…
After merging the sound-asoc tree, today's linux-next build (powerpc allyesconfig) failed like this:
sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_suspend':sound/soc/sti/sti_uniperif.c:81:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
ret =pinctrl_pm_select_sleep_state(uni->dev);
^sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_resume':sound/soc/sti/sti_uniperif.c:102:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
ret =pinctrl_pm_select_default_state(uni->dev);
^
Quoted 3 lines
Caused by commit
f3bd847eb0a7("ASoC: sti: Add uniperipheral dai driver")
ping! I still needed this today.
Quoted 26 lines
I have added this fix patch for today:
From: Stephen Rothwell <[email protected]>
Date: Fri, 17 Jul 2015 14:21:37 +1000
Subject: [PATCH] ASoC: sti: included needed header fileSigned-off-by Stephen Rothwell <[email protected]>--- sound/soc/sti/sti_uniperif.c | 1 + 1 file changed, 1 insertion(+)sound/soc/sti/sti_uniperif.c +1
-0@@ -6,6 +6,7 @@*/ #include <linux/module.h> +#include <linux/pinctrl/consumer.h> #include "uniperif.h" Signature · 1 line
2.1.4
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]