ALSA: intel8x0: Constify hw_constraints
[sfrench/cifs-2.6.git] / sound / pci / intel8x0m.c
index 1bc98c867133d8e302c6fd2d74502c27f2355ed3..18ff668ce7a561dcd10a013f02234bd22844ddbf 100644 (file)
@@ -635,8 +635,8 @@ static struct snd_pcm_hardware snd_intel8x0m_stream =
 
 static int snd_intel8x0m_pcm_open(struct snd_pcm_substream *substream, struct ichdev *ichdev)
 {
-       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,