aboutsummaryrefslogtreecommitdiff
path: root/sound/firewire
diff options
context:
space:
mode:
authorTakashi Sakamoto2017-04-14 13:13:50 +0900
committerTakashi Iwai2017-04-14 08:57:56 +0200
commit1e0f8f68f764b93e8d2d0e87e23532f2186a23a1 (patch)
tree0c359bf5603afc9bf7881d2091e019731a8a378b /sound/firewire
parenta87a4d23e86b7ff9b3f1300774c942de139ba16a (diff)
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>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions