linux/sound/usb/line6
Takashi Sakamoto 1e0f8f68f7 ALSA: usb-line6: constify snd_kcontrol_new strucutre array
In kernel APIs of ALSA control interface, drivers can create a control
element set by a call of snd_ctl_new1() with a template. This template
is known to have const qualifier in general cases.

This commit adds the qualifier to template array, for safer program and
runtime. Application of this change moves the symbol from .data section
to .rodata section.

Cc: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-04-14 08:57:56 +02:00
..
capture.c
capture.h
driver.c ALSA: line6: Always setup isochronous transfer properties 2017-02-07 09:40:49 +01:00
driver.h
Kconfig
Makefile
midi.c
midi.h
midibuf.c
midibuf.h
pcm.c ALSA: usb-line6: constify snd_kcontrol_new strucutre array 2017-04-14 08:57:56 +02:00
pcm.h
playback.c
playback.h
pod.c ALSA: line6: constify snd_kcontrol_new structures 2017-04-12 15:35:16 +02:00
podhd.c
toneport.c ALSA: line6: constify snd_kcontrol_new structures 2017-04-12 15:35:16 +02:00
variax.c