diff options
Diffstat (limited to 'src/pcm/pcm_shm.c')
-rw-r--r-- | src/pcm/pcm_shm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/pcm_shm.c b/src/pcm/pcm_shm.c index b0c0bb99..69d05240 100644 --- a/src/pcm/pcm_shm.c +++ b/src/pcm/pcm_shm.c @@ -591,7 +591,7 @@ static void snd_pcm_shm_dump(snd_pcm_t *pcm, snd_output_t *out) } } -static snd_pcm_ops_t snd_pcm_shm_ops = { +static const snd_pcm_ops_t snd_pcm_shm_ops = { .close = snd_pcm_shm_close, .info = snd_pcm_shm_info, .hw_refine = snd_pcm_shm_hw_refine, @@ -606,7 +606,7 @@ static snd_pcm_ops_t snd_pcm_shm_ops = { .munmap = snd_pcm_shm_munmap, }; -static snd_pcm_fast_ops_t snd_pcm_shm_fast_ops = { +static const snd_pcm_fast_ops_t snd_pcm_shm_fast_ops = { .status = snd_pcm_shm_status, .state = snd_pcm_shm_state, .hwsync = snd_pcm_shm_hwsync, |