[alsa-devel] [asoc:topic/component 7/8] include/sound/soc.h:811:8: error: duplicate member 'set_pll'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/component head: 880f02224c624fa2d6e4f8b2d37410fdc98b35fe commit: 47bdbaa2c9a6dd7b112fb403b05dd9293b35a41c [7/8] ASoC: add Component level set_pll config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 47bdbaa2c9a6dd7b112fb403b05dd9293b35a41c # save the attached .config to linux build tree make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
In file included from sound/soc/adi/axi-i2s.c:20:0: include/sound/soc.h:809:8: error: duplicate member 'set_sysclk' int (*set_sysclk)(struct snd_soc_component *component, ^
include/sound/soc.h:811:8: error: duplicate member 'set_pll'
int (*set_pll)(struct snd_soc_component *component, int pll_id, ^ include/sound/soc.h:891:8: error: duplicate member 'set_sysclk' int (*set_sysclk)(struct snd_soc_component *component, ^ include/sound/soc.h:893:8: error: duplicate member 'set_pll' int (*set_pll)(struct snd_soc_component *component, int pll_id, ^
vim +/set_pll +811 include/sound/soc.h
780 781 /* component interface */ 782 struct snd_soc_component_driver { 783 const char *name; 784 785 /* Default control and setup, added after probe() is run */ 786 const struct snd_kcontrol_new *controls; 787 unsigned int num_controls; 788 const struct snd_soc_dapm_widget *dapm_widgets; 789 unsigned int num_dapm_widgets; 790 const struct snd_soc_dapm_route *dapm_routes; 791 unsigned int num_dapm_routes; 792 793 int (*probe)(struct snd_soc_component *); 794 void (*remove)(struct snd_soc_component *); 795 int (*suspend)(struct snd_soc_component *); 796 int (*resume)(struct snd_soc_component *); 797 798 /* pcm creation and destruction */ 799 int (*pcm_new)(struct snd_soc_pcm_runtime *); 800 void (*pcm_free)(struct snd_pcm *); 801 802 /* component wide operations */ 803 int (*set_sysclk)(struct snd_soc_component *component, 804 int clk_id, int source, unsigned int freq, int dir); 805 int (*set_pll)(struct snd_soc_component *component, int pll_id, 806 int source, unsigned int freq_in, unsigned int freq_out); 807 808 /* component wide operations */
809 int (*set_sysclk)(struct snd_soc_component *component,
810 int clk_id, int source, unsigned int freq, int dir);
811 int (*set_pll)(struct snd_soc_component *component, int pll_id,
812 int source, unsigned int freq_in, unsigned int freq_out); 813 814 /* DT */ 815 int (*of_xlate_dai_name)(struct snd_soc_component *component, 816 struct of_phandle_args *args, 817 const char **dai_name); 818 int (*of_xlate_dai_id)(struct snd_soc_component *comment, 819 struct device_node *endpoint); 820 void (*seq_notifier)(struct snd_soc_component *, enum snd_soc_dapm_type, 821 int subseq); 822 int (*stream_event)(struct snd_soc_component *, int event); 823 824 /* probe ordering - for components with runtime dependencies */ 825 int probe_order; 826 int remove_order; 827 }; 828
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
participants (1)
-
kbuild test robot