]> 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)
commitaf2d80e5570459e19ee4f56d8976653f1837f13b
tree5dd54bad6f2ef26ebda57f92de7334e5a7796b08
parent6833b73f685f81fd9b5ba0abc3624f309fe8e5df
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