]> Git Repo - linux.git/commit - sound/core/pcm_native.c
ALSA: pcm: Define snd_pcm_mmap_data_{open|close}() locally
authorTakashi Iwai <[email protected]>
Wed, 13 Nov 2024 11:16:27 +0000 (12:16 +0100)
committerTakashi Iwai <[email protected]>
Wed, 13 Nov 2024 12:33:28 +0000 (13:33 +0100)
commitf69c2861b05e29c69abed6aafe0cefd224d9d4db
treece5843608d2682dd76613db6ff47d82217558af3
parent8f80f378e77eafdcdb7ea9a76cc645ecd04fb4e5
ALSA: pcm: Define snd_pcm_mmap_data_{open|close}() locally

snd_pcm_mmap_data_open() and _close() are defined as inline functions
in the public sound/pcm.h, but those are used only locally in
pcm_native.c, hence they should be better placed there.

Also, those are referred as callbacks, the useless inline is dropped.

Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
include/sound/pcm.h
sound/core/pcm_native.c
This page took 0.050321 seconds and 4 git commands to generate.