]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ALSA: usb-audio: constify snd_kcontrol_new structures
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 21 Feb 2017 20:03:27 +0000 (01:33 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Feb 2017 21:02:03 +0000 (22:02 +0100)
commit04bab35044e7aa54031e55e3f7039141c54e70d7
treef99ec8a5e47c6b0d04d64f679300021e19d13c1e
parentf3b827e0b1841f4cfc18436e09f4f269f3be908e
ALSA: usb-audio: constify snd_kcontrol_new structures

Declare snd_kcontrol_new structures as const as they are only passed as
an argument to the function add_new_ctl. This agrument is of type const,
so snd_kcontrol_new structures having this property can be made const
too.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett.c