]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - sound/usb/stream.c
Merge tag 'xfs-5.6-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux.git] / sound / usb / stream.c
index 11785f9652ade3ec53f18123aa9c0c3ef58a76e7..afd5aa574611e6936d672a75a4d4955ddc530eab 100644 (file)
@@ -239,7 +239,7 @@ static int add_chmap(struct snd_pcm *pcm, int stream,
 static struct snd_pcm_chmap_elem *convert_chmap(int channels, unsigned int bits,
                                                int protocol)
 {
-       static unsigned int uac1_maps[] = {
+       static const unsigned int uac1_maps[] = {
                SNDRV_CHMAP_FL,         /* left front */
                SNDRV_CHMAP_FR,         /* right front */
                SNDRV_CHMAP_FC,         /* center front */
@@ -254,7 +254,7 @@ static struct snd_pcm_chmap_elem *convert_chmap(int channels, unsigned int bits,
                SNDRV_CHMAP_TC,         /* top */
                0 /* terminator */
        };
-       static unsigned int uac2_maps[] = {
+       static const unsigned int uac2_maps[] = {
                SNDRV_CHMAP_FL,         /* front left */
                SNDRV_CHMAP_FR,         /* front right */
                SNDRV_CHMAP_FC,         /* front center */