[PATCH 2/2] ALSA: sound/pci: add const to snd_ratnum structures

2017-06-19 Thread Bhumika Goyal
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/pci/bt87x.c | 2 +-

[PATCH 2/2] ALSA: sound/pci: add const to snd_ratnum structures

2017-06-19 Thread Bhumika Goyal
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/pci/bt87x.c | 2 +- sound/pci/ens1370.c | 4