[alsa-devel] [asoc:topic/component 6/8] include/sound/soc.h:809:8: error: duplicate member 'set_sysclk'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/component head: 880f02224c624fa2d6e4f8b2d37410fdc98b35fe commit: 9cfeb53411be7c08d7dd19bc4bf0599a6d211390 [6/8] ASoC: add Component level set_sysclk 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 9cfeb53411be7c08d7dd19bc4bf0599a6d211390 # 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:889:8: error: duplicate member 'set_sysclk' int (*set_sysclk)(struct snd_soc_component *component, ^
vim +/set_sysclk +809 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 812 /* DT */ 813 int (*of_xlate_dai_name)(struct snd_soc_component *component, 814 struct of_phandle_args *args, 815 const char **dai_name); 816 int (*of_xlate_dai_id)(struct snd_soc_component *comment, 817 struct device_node *endpoint); 818 void (*seq_notifier)(struct snd_soc_component *, enum snd_soc_dapm_type, 819 int subseq); 820 int (*stream_event)(struct snd_soc_component *, int event); 821 822 /* probe ordering - for components with runtime dependencies */ 823 int probe_order; 824 int remove_order; 825 }; 826
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
participants (1)
-
kbuild test robot