OSDN Git Service

ALSA: cmipci: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:18:47 +0000 (14:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:50 +0000 (10:42 +0200)
commit0fac3195a8b8677199404a62c7c5e74daaa942dd
tree1d6b38bc60249245798d66363d41390e644f8f7e
parent934cd5b76d6fb5bbdefd37815a2b9441eb09d02f
ALSA: cmipci: 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/cmipci.c