Commit 2b899f31 authored by kernel test robot's avatar kernel test robot Committed by Takashi Iwai

ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static

sound/usb/mixer_scarlett_gen2.c:2000:5: warning: symbol 'snd_scarlett_gen2_controls_create' was not declared. Should it be static?

Fixes: 265d1a90 ("ALSA: usb-audio: scarlett2: Improve driver startup messages")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20210522180900.GA83915@f59a3af2f1d9Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9ebaef05
...@@ -1997,7 +1997,7 @@ static int scarlett2_mixer_status_create(struct usb_mixer_interface *mixer) ...@@ -1997,7 +1997,7 @@ static int scarlett2_mixer_status_create(struct usb_mixer_interface *mixer)
return usb_submit_urb(mixer->urb, GFP_KERNEL); return usb_submit_urb(mixer->urb, GFP_KERNEL);
} }
int snd_scarlett_gen2_controls_create(struct usb_mixer_interface *mixer, static int snd_scarlett_gen2_controls_create(struct usb_mixer_interface *mixer,
const struct scarlett2_device_info *info) const struct scarlett2_device_info *info)
{ {
int err; int err;
......
Markdown is supported
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