[asoc:topic/dai-id 1/1] sound/soc/soc-core.c:4054:9: error: implicit declaration of function 'of_graph_get_port_parent'

[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/dai-id
head:   a180e8b988437b3e84a1b501ac4d073467602ca6
commit: a180e8b988437b3e84a1b501ac4d073467602ca6 [1/1] ASoC: add snd_soc_get_dai_id() function
config: x86_64-randconfig-x010-201721 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout a180e8b988437b3e84a1b501ac4d073467602ca6
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   sound/soc/soc-core.c: In function 'snd_soc_get_dai_id':
>> sound/soc/soc-core.c:4054:9: error: implicit declaration of function 'of_graph_get_port_parent' [-Werror=implicit-function-declaration]
     node = of_graph_get_port_parent(ep);
            ^~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/soc-core.c:4054:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     node = of_graph_get_port_parent(ep);
          ^
   cc1: some warnings being treated as errors

vim +/of_graph_get_port_parent +4054 sound/soc/soc-core.c

  4048	int snd_soc_get_dai_id(struct device_node *ep)
  4049	{
  4050		struct snd_soc_component *pos;
  4051		struct device_node *node;
  4052		int ret;
  4053	
> 4054		node = of_graph_get_port_parent(ep);
  4055	
  4056		/*
  4057		 * For example HDMI case, HDMI has video/sound port,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
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