]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Declare the common variable in header file
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:00:53 +0000 (23:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Jul 2018 06:32:00 +0000 (08:32 +0200)
commit01a24d05ac77cacc09603e6a6f10e2b1c25afc18
tree1c76e32b36c1f5a258c69f15cade9a8509fdd6b2
parent41a2c1d493c0a2b15841852a2fa33ab413990fcb
ALSA: usb-audio: Declare the common variable in header file

Declare snd_usb_feature_unit_ctl properly in mixer.h.  Otherwise it's
error-prone.

This fixes the sparse warning:
  sound/usb/mixer.c:1464:25: warning: symbol 'snd_usb_feature_unit_ctl' was not declared. Should it be static?

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.h
sound/usb/mixer_quirks.c