]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:20:07 +0000 (14:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:52 +0000 (10:42 +0200)
commit301cfae0387708f2c6ff14222db533f08558ecc1
treeb3a21c0de990cd251ab22f0abba5c1a6400e0cb9
parent7cfe29a5f90e7949850702337186dab2d71f8c39
ALSA: hda: 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/hda/patch_hdmi.c
sound/pci/hda/patch_si3054.c