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
Signed-off-by: Stephen Rothwell <[email protected]>
---
sound/soc/sti/sti_uniperif.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/sti/sti_uniperif.c b/sound/soc/sti/sti_uniperif.c
index 749e6b294184..ab8d36af6dcb 100644
--- a/sound/soc/sti/sti_uniperif.c
+++ b/sound/soc/sti/sti_uniperif.c
@@ -6,6 +6,7 @@
*/
#include <linux/module.h>
+#include <linux/pinctrl/consumer.h>
#include "uniperif.h"
--
2.1.4
--
Cheers,
Stephen Rothwell [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/