[asoc:topic/intel 75/78] sound/soc/intel/boards/skl_rt286.c:55:2: error: implicit declaration of function 'SND_SOC_DAPM_SINK'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: Binary data

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux