Skip to content

Commit 2b899f3

Browse files
intel-lab-lkptiwai
authored andcommitted
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: 265d1a9 ("ALSA: usb-audio: scarlett2: Improve driver startup messages") Reported-by: kernel test robot <[email protected]> Signed-off-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/20210522180900.GA83915@f59a3af2f1d9 Signed-off-by: Takashi Iwai <[email protected]>
1 parent 9ebaef0 commit 2b899f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/usb/mixer_scarlett_gen2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,8 +1997,8 @@ static int scarlett2_mixer_status_create(struct usb_mixer_interface *mixer)
19971997
return usb_submit_urb(mixer->urb, GFP_KERNEL);
19981998
}
19991999

2000-
int snd_scarlett_gen2_controls_create(struct usb_mixer_interface *mixer,
2001-
const struct scarlett2_device_info *info)
2000+
static int snd_scarlett_gen2_controls_create(struct usb_mixer_interface *mixer,
2001+
const struct scarlett2_device_info *info)
20022002
{
20032003
int err;
20042004

0 commit comments

Comments
 (0)