|
@@ -154,7 +154,7 @@ static snd_pcm_uframes_t snd_imx_pcm_pointer(struct snd_pcm_substream *substream
|
|
return bytes_to_frames(substream->runtime, iprtd->offset);
|
|
return bytes_to_frames(substream->runtime, iprtd->offset);
|
|
}
|
|
}
|
|
|
|
|
|
-static struct snd_pcm_hardware snd_imx_hardware = {
|
|
|
|
|
|
+static const struct snd_pcm_hardware snd_imx_hardware = {
|
|
.info = SNDRV_PCM_INFO_INTERLEAVED |
|
|
.info = SNDRV_PCM_INFO_INTERLEAVED |
|
|
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
|
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
|
SNDRV_PCM_INFO_MMAP |
|
|
SNDRV_PCM_INFO_MMAP |
|