summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2018-06-27 22:33:55 +0300
committerMark Brown <broonie@kernel.org>2018-06-29 14:05:04 +0300
commit7afd1b0b2ef9a8120951188a955010ef92bdf885 (patch)
tree3fd40b9e778c00f569d8d17d84d1d862ad58a3e9 /include/sound
parenta7160670b5e2d6b59e0f7a5b7e5bcef3b532c24c (diff)
downloadlinux-7afd1b0b2ef9a8120951188a955010ef92bdf885.tar.xz
ASoC: pxa: move some functions to pxa2xx-lib
To get rid of some intermediate platform layers, move pxa2xx_soc_pcm_new() and pxa2xx_pcm_ops in pxa2xx-lib. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/pxa2xx-lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/pxa2xx-lib.h b/include/sound/pxa2xx-lib.h
index b43de38de8b2..6758fc12fa84 100644
--- a/include/sound/pxa2xx-lib.h
+++ b/include/sound/pxa2xx-lib.h
@@ -8,6 +8,7 @@
/* PCM */
struct snd_pcm_substream;
struct snd_pcm_hw_params;
+struct snd_soc_pcm_runtime;
struct snd_pcm;
extern int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
@@ -22,6 +23,8 @@ extern int pxa2xx_pcm_mmap(struct snd_pcm_substream *substream,
struct vm_area_struct *vma);
extern int pxa2xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream);
extern void pxa2xx_pcm_free_dma_buffers(struct snd_pcm *pcm);
+extern int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd);
+extern const struct snd_pcm_ops pxa2xx_pcm_ops;
/* AC97 */