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
crush
Kconfig -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 472 bytes
armor.c -rw-r--r-- 1.9 KB
auth.c -rw-r--r-- 15.7 KB
auth_none.c -rw-r--r-- 3.1 KB
auth_none.h -rw-r--r-- 482 bytes
auth_x.c -rw-r--r-- 26.8 KB
auth_x.h -rw-r--r-- 1013 bytes
auth_x_protocol.h -rw-r--r-- 1.9 KB
buffer.c -rw-r--r-- 1.2 KB
ceph_common.c -rw-r--r-- 23.0 KB
ceph_hash.c -rw-r--r-- 2.9 KB
ceph_strings.c -rw-r--r-- 1.6 KB
cls_lock_client.c -rw-r--r-- 11.7 KB
crypto.c -rw-r--r-- 8.0 KB
crypto.h -rw-r--r-- 1.1 KB
debugfs.c -rw-r--r-- 12.3 KB
decode.c -rw-r--r-- 4.6 KB
messenger.c -rw-r--r-- 53.2 KB
messenger_v1.c -rw-r--r-- 38.9 KB
messenger_v2.c -rw-r--r-- 91.1 KB
mon_client.c -rw-r--r-- 38.2 KB
msgpool.c -rw-r--r-- 2.3 KB
osd_client.c -rw-r--r-- 145.9 KB
osdmap.c -rw-r--r-- 70.5 KB
pagelist.c -rw-r--r-- 4.0 KB
pagevec.c -rw-r--r-- 3.3 KB
snapshot.c -rw-r--r-- 1.6 KB
string_table.c -rw-r--r-- 2.2 KB
striper.c -rw-r--r-- 7.7 KB

back to top