diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-02-20 23:09:17 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-20 23:45:37 +0300 |
commit | 02ed051fe1fd2fc8dbafec23ddd4814936121650 (patch) | |
tree | a38d8a825d5495dda03ea4df91d1d3f7ee536ed2 /sound/pci/emu10k1/emumixer.c | |
parent | 4e25d30c8ddeae6ad0b68440aacadaacb14f8538 (diff) | |
download | linux-02ed051fe1fd2fc8dbafec23ddd4814936121650.tar.xz |
ALSA: usb-audio: localize one-referrer variable
When accessed by one referrer inner a file, variables should have static
qualifier to declare local-linkage.
This commit fixes the bug. Sparse generated below warnings.
sound/usb/mixer_us16x08.c:156:13: warning: duplicate const
sound/usb/mixer_us16x08.c:156:18: warning: symbol 'route_names' was not declared. Should it be static?
Fixes: d2bb390a2081 ("ALSA: usb-audio: Tascam US-16x08 DSP mixer quirk")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/emumixer.c')
0 files changed, 0 insertions, 0 deletions