Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 357ad4d8 authored by Miles Chen's avatar Miles Chen Committed by Takashi Iwai
Browse files

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: 9dd7c463

 ("sound/oss/dmasound: fix build when drivers are mixed =y/=m")
Signed-off-by: default avatarMiles Chen <miles.chen@mediatek.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20220414091940.2216-1-miles.chen@mediatek.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 24d0c9f0
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment