diff options
author | Miles Chen <miles.chen@mediatek.com> | 2022-04-14 12:19:38 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-04-15 10:17:37 +0300 |
commit | 357ad4d898286b94aaae0cb7e3f573459e5b98b9 (patch) | |
tree | 1da2ecd49906330b2a1bdc5c3a0b14cd9da1d513 /.cocciconfig | |
parent | 24d0c9f0e7de95fe3e3e0067cbea1cd5d413244b (diff) | |
download | linux-357ad4d898286b94aaae0cb7e3f573459e5b98b9.tar.xz |
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: 9dd7c46346ca ("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>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions