ALSA: usb-audio: localize function without external linkage
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 20 Feb 2017 20:09:19 +0000 (05:09 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Feb 2017 20:53:14 +0000 (21:53 +0100)
commit34371d236eab28933eefc0d77bd1e3df62fc585b
tree66a803dc0edbcd30db7ce640a0980e5634c8eba9
parent02ed051fe1fd2fc8dbafec23ddd4814936121650
ALSA: usb-audio: localize function without external linkage

When accessed inner a file, functions should have static qualifier for
local-linkage.

This commit fixes the bug. Sparse generated below warning.

sound/usb/mixer_us16x08.c:1043:32: warning: symbol 'snd_us16x08_create_meter_store' 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>
sound/usb/mixer_us16x08.c