diff options
Diffstat (limited to 'sound/aoa')
-rw-r--r-- | sound/aoa/soundbus/i2sbus/pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/aoa/soundbus/i2sbus/pcm.c b/sound/aoa/soundbus/i2sbus/pcm.c index 053b09c79053..e618531757e0 100644 --- a/sound/aoa/soundbus/i2sbus/pcm.c +++ b/sound/aoa/soundbus/i2sbus/pcm.c | |||
@@ -778,7 +778,7 @@ static snd_pcm_uframes_t i2sbus_playback_pointer(struct snd_pcm_substream | |||
778 | return i2sbus_pcm_pointer(i2sdev, 0); | 778 | return i2sbus_pcm_pointer(i2sdev, 0); |
779 | } | 779 | } |
780 | 780 | ||
781 | static struct snd_pcm_ops i2sbus_playback_ops = { | 781 | static const struct snd_pcm_ops i2sbus_playback_ops = { |
782 | .open = i2sbus_playback_open, | 782 | .open = i2sbus_playback_open, |
783 | .close = i2sbus_playback_close, | 783 | .close = i2sbus_playback_close, |
784 | .ioctl = snd_pcm_lib_ioctl, | 784 | .ioctl = snd_pcm_lib_ioctl, |
@@ -848,7 +848,7 @@ static snd_pcm_uframes_t i2sbus_record_pointer(struct snd_pcm_substream | |||
848 | return i2sbus_pcm_pointer(i2sdev, 1); | 848 | return i2sbus_pcm_pointer(i2sdev, 1); |
849 | } | 849 | } |
850 | 850 | ||
851 | static struct snd_pcm_ops i2sbus_record_ops = { | 851 | static const struct snd_pcm_ops i2sbus_record_ops = { |
852 | .open = i2sbus_record_open, | 852 | .open = i2sbus_record_open, |
853 | .close = i2sbus_record_close, | 853 | .close = i2sbus_record_close, |
854 | .ioctl = snd_pcm_lib_ioctl, | 854 | .ioctl = snd_pcm_lib_ioctl, |