]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: sparc: Constify snd_kcontrol_new items
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:55 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:33 +0000 (09:24 +0100)
commit0ef0eb85e93cee8f0208c28a9b4e70d2352d8143
tree185d58194ebca96c87b5b07fc9d2bcd6581e83f4
parent836831ced6bb35b0b453e13d8dcdc53f8bd91e63
ALSA: sparc: 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-40-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/amd7930.c
sound/sparc/cs4231.c
sound/sparc/dbri.c