diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-08 12:46:41 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-09 20:02:53 +0300 |
commit | fc7af6bc2707e32d73c639d63f1543d890a00db4 (patch) | |
tree | b4097fb2f10ec05854eecca50d65eaffb8b47a82 /sound/core/pcm_memory.c | |
parent | e610748ad4388f02a2cd8b3ad051a662c03dbfbc (diff) | |
download | linux-fc7af6bc2707e32d73c639d63f1543d890a00db4.tar.xz |
ALSA: pcm: Unexport snd_pcm_sgbuf_ops_page
The helper is no longer referred after the recent code refactoring.
Drop the export for saving some bits and future misuse.
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20191108094641.20086-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_memory.c')
-rw-r--r-- | sound/core/pcm_memory.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/core/pcm_memory.c b/sound/core/pcm_memory.c index 17ee361ce791..286f333f8e4c 100644 --- a/sound/core/pcm_memory.c +++ b/sound/core/pcm_memory.c @@ -255,7 +255,7 @@ void snd_pcm_lib_preallocate_pages_for_all(struct snd_pcm *pcm, EXPORT_SYMBOL(snd_pcm_lib_preallocate_pages_for_all); #ifdef CONFIG_SND_DMA_SGBUF -/** +/* * snd_pcm_sgbuf_ops_page - get the page struct at the given offset * @substream: the pcm substream instance * @offset: the buffer offset @@ -273,7 +273,6 @@ struct page *snd_pcm_sgbuf_ops_page(struct snd_pcm_substream *substream, unsigne return NULL; return sgbuf->page_table[idx]; } -EXPORT_SYMBOL(snd_pcm_sgbuf_ops_page); #endif /* CONFIG_SND_DMA_SGBUF */ /** |