]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mediatek: Constify hw_constraints
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Jun 2017 21:37:24 +0000 (23:37 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 13 Jun 2017 20:33:03 +0000 (21:33 +0100)
commit4d31708264bb7c9e6258cdb3adf4f7d37d6d88c2
treeafb8822a1be9642cf27a14b8d798ee159b30d546
parent81e0e7134ab085ac5d0890177bfed38a0f2be4f8
ASoC: mediatek: 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>
Acked-By: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt2701/mt2701-cs42448.c