]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: sonicvibes: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:22:55 +0000 (14:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:55 +0000 (10:42 +0200)
commit519c755ad3ee1fd274040b5cd4070ac958ddbace
tree5408a9998087bee74c98b5d00adc1534f2aee5be
parent4efdc17169d89e71ce54a716e1b513cd69fed0e6
ALSA: sonicvibes: 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/sonicvibes.c