From: Takashi Iwai Date: Fri, 5 Jul 2024 06:35:53 +0000 (+0200) Subject: ALSA: pcm: Fix missing export of snd_pcm_set_sync_per-card() X-Git-Tag: v6.11-rc1~108^2~9^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc7540b794df29f6ec0b24996381d6e68779d02f;p=thirdparty%2Flinux.git ALSA: pcm: Fix missing export of snd_pcm_set_sync_per-card() The recent change for the PCM sync API forgot to export a new API function that is currently used in emu10k1 driver. This patch adds the missing export. Fixes: d712c58c55d9 ("ALSA: pcm: optimize and clarify stream synchronization ID API") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202407051343.1Sz8AKFt-lkp@intel.com/ Reviewed-by: Jaroslav Kysela Link: https://patch.msgid.link/20240705063555.17220-1-tiwai@suse.de Signed-off-by: Takashi Iwai --- diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index e48a84f8e9772..66683656fb13e 100644 --- a/sound/core/pcm_lib.c +++ b/sound/core/pcm_lib.c @@ -547,6 +547,7 @@ void snd_pcm_set_sync_per_card(struct snd_pcm_substream *substream, strncpy(params->sync + 4, id, len); memset(params->sync + 4 + len, 0, 12 - len); } +EXPORT_SYMBOL_GPL(snd_pcm_set_sync_per_card); /* * Standard ioctl routine