Skip to content

Commit

Permalink
ALSA: memalloc: remove snd_dma_sg_ops declaration
Browse files Browse the repository at this point in the history
snd_dma_sg_ops has been removed since
commit 2c95b92 ("ALSA: memalloc: Unify x86 SG-buffer handling
(take#3)"), so remove it.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link: https://lore.kernel.org/r/20220909035443.1065737-3-cuigaosheng1@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Gaosheng Cui authored and Takashi Iwai committed Sep 9, 2022
1 parent a0e3a29 commit 5a55b51
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sound/core/memalloc_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,4 @@ struct snd_malloc_ops {
void (*sync)(struct snd_dma_buffer *dmab, enum snd_dma_sync_mode mode);
};

#ifdef CONFIG_SND_DMA_SGBUF
extern const struct snd_malloc_ops snd_dma_sg_ops;
#endif

#endif /* __MEMALLOC_LOCAL_H */

0 comments on commit 5a55b51

Please sign in to comment.