]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: memalloc: Move snd_malloc_ops definition into memalloc.c again
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Sep 2024 11:31:41 +0000 (13:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 Sep 2024 11:32:36 +0000 (13:32 +0200)
commit5ced8b914ed46edff0d265fb6f397bc851f5fd85
treefc87a80665a64b47fc274a3d06127e5145b00212
parent7e4d4b32ab9532bd1babcd5d0763d727ebb04be0
ALSA: memalloc: Move snd_malloc_ops definition into memalloc.c again

The definition of struct snd_malloc_ops was moved out to
memalloc_local.h since there was another code for S/G buffer
allocation referring to the struct.  But since the code change to use
non-contiguous allocators, it's solely referred in memalloc.c, hence
it makes little sense to have a separate header file.

Let's move it back to memalloc.c.

Link: https://patch.msgid.link/20240910113141.32618-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc.c
sound/core/memalloc_local.h [deleted file]