ALSA: pcm: constify function local and read-only table
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 16 May 2017 23:48:18 +0000 (08:48 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2017 05:25:26 +0000 (07:25 +0200)
commitb46fe5d9607c2a14618c746a02892ead0f0f4637
treeb1751260711a65bedce5d37495494e49c8bbebfa
parente76bf3c4b4e456fa8f2c729fa1e8c644857529a8
ALSA: pcm: constify function local and read-only table

In a function snd_pcm_hw_params_choose(), target parameters are arranged
into a table. Though each entry of this table is read-only, they don't
have const qualifier.

This commit adds the qualifier.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c