]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ice1712: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:20:40 +0000 (14:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:52 +0000 (10:42 +0200)
commitb2fc2c2324d1f45da9a808d3d716e2abf808290f
treec6120a2c8f3303a80c44eeab8bdcad5f311832cd
parentf5f98dcb3ef892bd2ad80e546eeb30473848ec72
ALSA: ice1712: 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/ice1712/ice1712.c
sound/pci/ice1712/ice1712.h