]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdsp: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:22:26 +0000 (14:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:54 +0000 (10:42 +0200)
commitaa2ff1a2a8aba0b33fcf579447082e2f5114bbc5
tree5dd54bad6f2ef26ebda57f92de7334e5a7796b08
parent5f55240daa19e664014983d445b34de85da83bfe
ALSA: hdsp: Constify hw_constraints

snd_pcm_hw_constraint_list(), *_ratnums() and *_ratdens() receive the
const pointers.  Constify the corresponding static objects for better
hardening.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c