OSDN Git Service

ALSA: pcm: add const qualifier for read-only table for sampling rate
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 16 May 2017 23:48:17 +0000 (08:48 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2017 05:24:24 +0000 (07:24 +0200)
commit8b674308a26a774896652dafe0dac7ee297eed9b
treeedd256fc9b1baf8183e3c4519cb96b79838e5aa9
parenta96801b504bc44d71c54cc6464c6de1465d79b54
ALSA: pcm: add const qualifier for read-only table for sampling rate

There's a read-only table for each sampling rate, while it doesn't have
const qualifier and can be modified.

This commit add the qualifier. As a result, a symbol for the table
moves from .data section to .rodata.

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