]> 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)
commitf17c0c915b9f0d5b633fae426c828a9fb368a0d8
tree4364aead15e7e2193060190cf25ffb68759ff413
parent8dbdb40eec38111690441d82fe6059c360c4aa64
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