Revision ccecefa4f89971e34745abbffdaf4d2c3fb2f457 authored by Arnd Bergmann on 16 May 2023, 19:50:41 UTC, committed by Takashi Iwai on 17 May 2023, 14:56:00 UTC
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>
1 parent 3b44ec8
History
File Mode Size
hci
nci
Kconfig -rw-r--r-- 829 bytes
Makefile -rw-r--r-- 374 bytes
af_nfc.c -rw-r--r-- 1.8 KB
core.c -rw-r--r-- 24.5 KB
digital.h -rw-r--r-- 5.2 KB
digital_core.c -rw-r--r-- 20.1 KB
digital_dep.c -rw-r--r-- 34.2 KB
digital_technology.c -rw-r--r-- 26.4 KB
llcp.h -rw-r--r-- 6.7 KB
llcp_commands.c -rw-r--r-- 16.2 KB
llcp_core.c -rw-r--r-- 34.0 KB
llcp_sock.c -rw-r--r-- 22.2 KB
netlink.c -rw-r--r-- 40.2 KB
nfc.h -rw-r--r-- 4.4 KB
rawsock.c -rw-r--r-- 9.0 KB

back to top