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

From: Bhumika Goyal
Date: Mon Jun 19 2017 - 14:44:09 EST


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.

Bhumika Goyal (2):
ALSA: sound/isa: constify snd_ratnum structures
ALSA: sound/pci: add const to snd_ratnum structures

sound/isa/gus/gus_pcm.c | 2 +-
sound/isa/sb/sb8_main.c | 2 +-
sound/pci/bt87x.c | 2 +-
sound/pci/ens1370.c | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)

--
2.7.4