8 Jan
2014
8 Jan
'14
12:49 p.m.
On Wed, 2014-01-08 at 11:55 +0100, Takashi Iwai wrote:
At Wed, 8 Jan 2014 10:40:18 +0000, Liam Girdwood wrote:
struct snd_soc_dai_ops { /* * DAI clocking configuration, all optional. diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index 6ebdfd9..7f22ca3 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c @@ -119,6 +119,13 @@ static struct snd_soc_dai_driver dummy_dai = { }, };
+int snd_soc_dai_is_dummy(struct snd_soc_dai *dai) +{
- if (dai->driver == &dummy_dai)
return 1;
- return 0;
+}
No need for EXPORT_SYMBOL since it's for internal use only, or just forgotten?
No need for the EXPORT_SYMBOL as the core soc-*.c files are linked into the same module and it's for internal use only.
Liam