]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: via82xx: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:23:13 +0000 (14:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:56 +0000 (10:42 +0200)
commit4352981ddeacc4c07200d8fb309a98f2e31f23d8
tree7cea92092919289d4839984f9042e4180f361d65
parent6b739984b92e6eb42dc7d0893750b8df15e72008
ALSA: via82xx: 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/via82xx.c
sound/pci/via82xx_modem.c