Loading sound/pci/via82xx.c +2 −2 Original line number Diff line number Diff line Loading @@ -1286,10 +1286,10 @@ static int snd_via8233_multi_open(struct snd_pcm_substream *substream) /* channels constraint for VIA8233A * 3 and 5 channels are not supported */ static unsigned int channels[] = { static const unsigned int channels[] = { 1, 2, 4, 6 }; static struct snd_pcm_hw_constraint_list hw_constraints_channels = { static const struct snd_pcm_hw_constraint_list hw_constraints_channels = { .count = ARRAY_SIZE(channels), .list = channels, .mask = 0, Loading sound/pci/via82xx_modem.c +2 −2 Original line number Diff line number Diff line Loading @@ -744,8 +744,8 @@ static int snd_via82xx_modem_pcm_open(struct via82xx_modem *chip, struct viadev { struct snd_pcm_runtime *runtime = substream->runtime; int err; static unsigned int rates[] = { 8000, 9600, 12000, 16000 }; static struct snd_pcm_hw_constraint_list hw_constraints_rates = { static const unsigned int rates[] = { 8000, 9600, 12000, 16000 }; static const struct snd_pcm_hw_constraint_list hw_constraints_rates = { .count = ARRAY_SIZE(rates), .list = rates, .mask = 0, Loading Loading
sound/pci/via82xx.c +2 −2 Original line number Diff line number Diff line Loading @@ -1286,10 +1286,10 @@ static int snd_via8233_multi_open(struct snd_pcm_substream *substream) /* channels constraint for VIA8233A * 3 and 5 channels are not supported */ static unsigned int channels[] = { static const unsigned int channels[] = { 1, 2, 4, 6 }; static struct snd_pcm_hw_constraint_list hw_constraints_channels = { static const struct snd_pcm_hw_constraint_list hw_constraints_channels = { .count = ARRAY_SIZE(channels), .list = channels, .mask = 0, Loading
sound/pci/via82xx_modem.c +2 −2 Original line number Diff line number Diff line Loading @@ -744,8 +744,8 @@ static int snd_via82xx_modem_pcm_open(struct via82xx_modem *chip, struct viadev { struct snd_pcm_runtime *runtime = substream->runtime; int err; static unsigned int rates[] = { 8000, 9600, 12000, 16000 }; static struct snd_pcm_hw_constraint_list hw_constraints_rates = { static const unsigned int rates[] = { 8000, 9600, 12000, 16000 }; static const struct snd_pcm_hw_constraint_list hw_constraints_rates = { .count = ARRAY_SIZE(rates), .list = rates, .mask = 0, Loading