]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: emu10k1: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:19:20 +0000 (14:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:51 +0000 (10:42 +0200)
commit5cd89f1df1ff2a2c9b7b5b7fd497df36ad8426bc
treec71ce542cf1b4cbece69e2ddc49955310eb6d66f
parenta39cdc957332771382a7b8a1a107bf7b49f134b5
ALSA: emu10k1: 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/emu10k1/emupcm.c