|
@@ -271,7 +271,7 @@ static int txx9aclc_pcm_close(struct snd_pcm_substream *substream)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static struct snd_pcm_ops txx9aclc_pcm_ops = {
|
|
|
+static const struct snd_pcm_ops txx9aclc_pcm_ops = {
|
|
|
.open = txx9aclc_pcm_open,
|
|
|
.close = txx9aclc_pcm_close,
|
|
|
.ioctl = snd_pcm_lib_ioctl,
|
|
@@ -403,7 +403,7 @@ static int txx9aclc_pcm_remove(struct snd_soc_platform *platform)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static struct snd_soc_platform_driver txx9aclc_soc_platform = {
|
|
|
+static const struct snd_soc_platform_driver txx9aclc_soc_platform = {
|
|
|
.probe = txx9aclc_pcm_probe,
|
|
|
.remove = txx9aclc_pcm_remove,
|
|
|
.ops = &txx9aclc_pcm_ops,
|