]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ens137x: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 12:19:39 +0000 (14:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 08:42:51 +0000 (10:42 +0200)
commit098507e5b906567c7b6031284208d98f33a91421
treeeac694c3df9cc84ee1800ea5238214c69f497734
parent7c96827efac7dd36b35cb425b1f13e062bca8781
ALSA: ens137x: 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/ens1370.c