]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: cs46xx: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:19:05 +0000 (14:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:50 +0000 (10:42 +0200)
commita39cdc957332771382a7b8a1a107bf7b49f134b5
tree19d079d59ebdfb975c286670e0168fff671a22d1
parent9aac379e7fcc021e5c30ae59627e56f00f370e3f
ALSA: cs46xx: 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/cs46xx/cs46xx_lib.c