]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitb02ee56087adae4819ce4d91c08d57403f71fd34
treeafb8822a1be9642cf27a14b8d798ee159b30d546
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
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