]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: nm256: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:21:49 +0000 (14:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:53 +0000 (10:42 +0200)
commit01c7577531bdc56430e8d5a59a6cfbf922eb05fe
tree047a19262274def6b9788179643ad48074172cdc
parent0950a1e173a838a029ec1ca61a4282e6fef04607
ALSA: nm256: 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/nm256/nm256.c