Commit 354a2142 authored by Mark Brown's avatar Mark Brown

ASoC: Declare soc_new_pcm() properly

Ensure that everything is seeing the same declaration by moving it to
a header file rather than putting the declaration in soc-core.c
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
parent 204e418b
...@@ -317,6 +317,7 @@ int snd_soc_platform_read(struct snd_soc_platform *platform, ...@@ -317,6 +317,7 @@ int snd_soc_platform_read(struct snd_soc_platform *platform,
unsigned int reg); unsigned int reg);
int snd_soc_platform_write(struct snd_soc_platform *platform, int snd_soc_platform_write(struct snd_soc_platform *platform,
unsigned int reg, unsigned int val); unsigned int reg, unsigned int val);
int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num);
/* Utility functions to get clock rates from various things */ /* Utility functions to get clock rates from various things */
int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots); int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots);
......
...@@ -59,8 +59,6 @@ static LIST_HEAD(dai_list); ...@@ -59,8 +59,6 @@ static LIST_HEAD(dai_list);
static LIST_HEAD(platform_list); static LIST_HEAD(platform_list);
static LIST_HEAD(codec_list); static LIST_HEAD(codec_list);
int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num);
/* /*
* This is a timeout to do a DAPM powerdown after a stream is closed(). * This is a timeout to do a DAPM powerdown after a stream is closed().
* It can be used to eliminate pops between different playback streams, e.g. * It can be used to eliminate pops between different playback streams, e.g.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment