summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-22 12:16:39 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-22 17:34:25 +0000
commit354a21423d09c2a6afe0fcea9dbbda9cdada6e45 (patch)
treeb673c242dd040bbb392edaa1236783e17270ec37 /include/sound/soc.h
parent204e418bd2826423f7bacc6d4e15af8b0649e149 (diff)
downloadop-kernel-dev-354a21423d09c2a6afe0fcea9dbbda9cdada6e45.zip
op-kernel-dev-354a21423d09c2a6afe0fcea9dbbda9cdada6e45.tar.gz
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: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 8391b0e..f75d1cc 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -317,6 +317,7 @@ int snd_soc_platform_read(struct snd_soc_platform *platform,
unsigned int reg);
int snd_soc_platform_write(struct snd_soc_platform *platform,
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 */
int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots);
OpenPOWER on IntegriCloud