1. 09 Sep, 2014 1 commit
  2. 03 Sep, 2014 1 commit
  3. 29 Aug, 2014 4 commits
  4. 18 Aug, 2014 1 commit
    • Xiubo Li's avatar
      ASoC: simple-card: Fix the compile warning. · 8ea21348
      Xiubo Li authored
      sound/soc/generic/simple-card.c: In function simple_card_dai_link_of:
      sound/soc/generic/simple-card.c:198:10: warning: passing argument 3 of
      asoc_simple_card_sub_parse_of from incompatible pointer type [enabled by default]
                &dai_link->cpu_dai_name);
                ^
      sound/soc/generic/simple-card.c:112:1: note: expected const struct device_node **
      but argument is of type struct device_node **
       asoc_simple_card_sub_parse_of(struct device_node *np,
       ^
      sound/soc/generic/simple-card.c:229:10: warning: passing argument 3 of
      asoc_simple_card_sub_parse_of from incompatible pointer type [enabled by default]
                &dai_link->codec_dai_name);
                ^
      sound/soc/generic/simple-card.c:112:1: note: expected const struct device_node **
      but argument is of type struct device_node **
       asoc_simple_card_sub_parse_of(struct device_node *np,
       ^
      
      Since the asoc_simple_card_sub_parse_of() is used in simple-card module only,
      and the third argument is just used to get the node ponters address, so there is
      no need it must to be 'const' type.
      Signed-off-by: default avatarXiubo Li <Li.Xiubo@freescale.com>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      8ea21348
  5. 16 Aug, 2014 33 commits