]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: au88x0: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:18:01 +0000 (14:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:49 +0000 (10:42 +0200)
commit7446821c2c29aeead5787b37fc67800e90d28988
tree2eff49922b205ce12d6f935ae3ef27eae8f27a59
parent1c1f25ff0ea929f0b3ec4d5578246d28ef0969cf
ALSA: au88x0: 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/au88x0/au88x0_pcm.c