Revert previous over-zealous "rename asoc_simple_card_xxx() to asoc_simple_()"
Two of them should not have been changed, as they were protected and intended for older kernels.
This commit is contained in:
parent
af8668ff97
commit
26754b0821
1 changed files with 2 additions and 2 deletions
|
@ -445,7 +445,7 @@ static int seeed_voice_card_dai_link_of(struct device_node *node,
|
||||||
goto dai_link_of_err;
|
goto dai_link_of_err;
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(4,10,0)
|
#if LINUX_VERSION_CODE <= KERNEL_VERSION(4,10,0)
|
||||||
ret = asoc_simple_parse_clk_cpu(cpu, dai_link, cpu_dai);
|
ret = asoc_simple_card_parse_clk_cpu(cpu, dai_link, cpu_dai);
|
||||||
#else
|
#else
|
||||||
ret = asoc_simple_parse_clk_cpu(dev, cpu, dai_link, cpu_dai);
|
ret = asoc_simple_parse_clk_cpu(dev, cpu, dai_link, cpu_dai);
|
||||||
#endif
|
#endif
|
||||||
|
@ -453,7 +453,7 @@ static int seeed_voice_card_dai_link_of(struct device_node *node,
|
||||||
goto dai_link_of_err;
|
goto dai_link_of_err;
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(4,10,0)
|
#if LINUX_VERSION_CODE <= KERNEL_VERSION(4,10,0)
|
||||||
ret = asoc_simple_parse_clk_codec(codec, dai_link, codec_dai);
|
ret = asoc_simple_card_parse_clk_codec(codec, dai_link, codec_dai);
|
||||||
#else
|
#else
|
||||||
ret = asoc_simple_parse_clk_codec(dev, codec, dai_link, codec_dai);
|
ret = asoc_simple_parse_clk_codec(dev, codec, dai_link, codec_dai);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue