]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: parisc: Constify snd_kcontrol_new items
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:58 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:35 +0000 (09:24 +0100)
commit2f9b307bba3a7208b58bc5b84fad2d182718373b
tree4364aead15e7e2193060190cf25ffb68759ff413
parent2cbbecd334eb4593f2c02f9c94920da08abb2092
ALSA: parisc: Constify snd_kcontrol_new items

Most of snd_kcontrol_new definitions are read-only and passed as-is.
Let's declare them as const for further optimization.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-43-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/parisc/harmony.c