summaryrefslogtreecommitdiff
path: root/sound/core/oss/pcm_plugin.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 22:50:41 +0300
committerTakashi Iwai <tiwai@suse.de>2023-05-17 17:56:00 +0300
commitccecefa4f89971e34745abbffdaf4d2c3fb2f457 (patch)
tree6b1a9713f8fd163c05a2fbc27aebf84a6969e4bb /sound/core/oss/pcm_plugin.h
parent3b44ec8c5c44790a82f07e90db45643c762878c6 (diff)
downloadlinux-ccecefa4f89971e34745abbffdaf4d2c3fb2f457.tar.xz
ALSA: cs46xx: mark snd_cs46xx_download_image as static
snd_cs46xx_download_image() was originally called from dsp_spos.c, but is now local to cs46xx_lib.c. Mark it as 'static' to avoid a warning about it lacking a declaration, and '__maybe_unused' to avoid a warning about it being unused when CONFIG_SND_CS46XX_NEW_DSP is disabled: sound/pci/cs46xx/cs46xx_lib.c:534:5: error: no previous prototype for 'snd_cs46xx_download_image' Fixes: 89f157d9e6bf ("[ALSA] cs46xx - Fix PM resume") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20230516195046.550584-1-arnd@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/oss/pcm_plugin.h')
0 files changed, 0 insertions, 0 deletions