[alsa-devel] [asoc:topic/intel 75/78] sound/soc/intel/boards/skl_rt286.c:55:2: error: implicit declaration of function 'SND_SOC_DAPM_SINK'
kbuild test robot
fengguang.wu at intel.com
Tue Dec 8 21:05:51 CET 2015
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/intel
head: 9ec2053b13f75d7ad9c0e6db9763954bd1a1b9ae
commit: b34e24d2406f123d5dbbff4fdeebbc2af76b0acd [75/78] ASoC: Intel: Skylake: add wov as int sink
config: i386-allmodconfig (attached as .config)
reproduce:
git checkout b34e24d2406f123d5dbbff4fdeebbc2af76b0acd
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
>> sound/soc/intel/boards/skl_rt286.c:55:2: error: implicit declaration of function 'SND_SOC_DAPM_SINK' [-Werror=implicit-function-declaration]
SND_SOC_DAPM_SINK("WoV Sink"),
^
>> sound/soc/intel/boards/skl_rt286.c:55:2: error: initializer element is not constant
sound/soc/intel/boards/skl_rt286.c:55:2: note: (near initialization for 'skylake_widgets[5].id')
>> sound/soc/intel/boards/skl_rt286.c:49:61: warning: missing braces around initializer [-Wmissing-braces]
static const struct snd_soc_dapm_widget skylake_widgets[] = {
^
sound/soc/intel/boards/skl_rt286.c:49:61: note: (near initialization for 'skylake_widgets')
cc1: some warnings being treated as errors
vim +/SND_SOC_DAPM_SINK +55 sound/soc/intel/boards/skl_rt286.c
43 static const struct snd_kcontrol_new skylake_controls[] = {
44 SOC_DAPM_PIN_SWITCH("Speaker"),
45 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
46 SOC_DAPM_PIN_SWITCH("Mic Jack"),
47 };
48
> 49 static const struct snd_soc_dapm_widget skylake_widgets[] = {
50 SND_SOC_DAPM_HP("Headphone Jack", NULL),
51 SND_SOC_DAPM_SPK("Speaker", NULL),
52 SND_SOC_DAPM_MIC("Mic Jack", NULL),
53 SND_SOC_DAPM_MIC("DMIC2", NULL),
54 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
> 55 SND_SOC_DAPM_SINK("WoV Sink"),
56 };
57
58 static const struct snd_soc_dapm_route skylake_rt286_map[] = {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 52592 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151209/7ddca698/attachment-0001.obj>
More information about the Alsa-devel
mailing list