snd_pcm_ops are not supposed to change at runtime. All functions
working with snd_pcm_ops provided by work with
const snd_pcm_ops. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
sound/arm/aaci.c | 4 ++--
sound/arm/pxa2xx-pcm.c | 2 +-
snd_pcm_ops are not supposed to change at runtime. All functions
working with snd_pcm_ops provided by work with
const snd_pcm_ops. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
sound/arm/aaci.c | 4 ++--
sound/arm/pxa2xx-pcm.c | 2 +-
2 files changed, 3
2 matches
Mail list logo