WSL2-Linux-Kernel/sound/oss/dmasound
Miles Chen 357ad4d898 sound/oss/dmasound: fix 'dmasound_setup' defined but not used
We observed: 'dmasound_setup' defined but not used error with
COMPILER=gcc ARCH=m68k DEFCONFIG=allmodconfig build.

Fix it by adding __maybe_unused to dmasound_setup.

Error(s):
sound/oss/dmasound/dmasound_core.c:1431:12: error: 'dmasound_setup' defined but not used [-Werror=unused-function]

Fixes: 9dd7c46346 ("sound/oss/dmasound: fix build when drivers are mixed =y/=m")
Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20220414091940.2216-1-miles.chen@mediatek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-04-15 09:17:37 +02:00
..
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
dmasound.h sound/oss/dmasound: fix build when drivers are mixed =y/=m 2022-04-07 10:28:48 +02:00
dmasound_atari.c ALSA: Use fallthrough pseudo-keyword 2020-07-09 13:01:29 +02:00
dmasound_core.c sound/oss/dmasound: fix 'dmasound_setup' defined but not used 2022-04-15 09:17:37 +02:00
dmasound_paula.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
dmasound_q40.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00