Declare snd_ratnum structures as const as their reference is only
stored in the rate field of a snd_pcm_hw_constraint_ratnums structure.
This field is of type const, so snd_ratnum structures can be made const.
Signed-off-by: Bhumika Goyal
---
sound/isa/gus/gus_pcm.c | 2 +-
Declare snd_ratnum structures as const as their reference is only
stored in the rate field of a snd_pcm_hw_constraint_ratnums structure.
This field is of type const, so snd_ratnum structures can be made const.
Signed-off-by: Bhumika Goyal
---
sound/isa/gus/gus_pcm.c | 2 +-
2 matches
Mail list logo