diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-08 10:46:41 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-09 18:02:53 +0100 |
commit | fc7af6bc2707e32d73c639d63f1543d890a00db4 (patch) | |
tree | b4097fb2f10ec05854eecca50d65eaffb8b47a82 /sound/core/pcm_local.h | |
parent | e610748ad4388f02a2cd8b3ad051a662c03dbfbc (diff) |
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_local.h')
-rw-r--r-- | sound/core/pcm_local.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/core/pcm_local.h b/sound/core/pcm_local.h index 1161ab2d6a5b..5565e1c4196a 100644 --- a/sound/core/pcm_local.h +++ b/sound/core/pcm_local.h @@ -67,4 +67,9 @@ static inline void snd_pcm_timer_done(struct snd_pcm_substream *substream) {} void __snd_pcm_xrun(struct snd_pcm_substream *substream); void snd_pcm_group_init(struct snd_pcm_group *group); +#ifdef CONFIG_SND_DMA_SGBUF +struct page *snd_pcm_sgbuf_ops_page(struct snd_pcm_substream *substream, + unsigned long offset); +#endif + #endif /* __SOUND_CORE_PCM_LOCAL_H */ |