]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: bt87x: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:18:33 +0000 (14:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:50 +0000 (10:42 +0200)
commitcbf3e73b4e54369b821a5e9b6b8846cfdc206470
treec9a91f307b7989ce271ede8bc253a6870e36bf03
parentad74edf7eb8c80d5d5e3f740a845507d2c86f6b9
ALSA: bt87x: 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/bt87x.c