]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit491109977c429bee911ed393dbc2fd647b53926d
treeb1751260711a65bedce5d37495494e49c8bbebfa
parent6edb462d1e7656cc267f0c42262f76b18fc56d04
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