Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ALSA: add const to snd_ratnum structures
@ 2017-06-19 18:41 Bhumika Goyal
  2017-06-19 18:41 ` [PATCH 1/2] ALSA: sound/isa: constify " Bhumika Goyal
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bhumika Goyal @ 2017-06-19 18:41 UTC (permalink / raw)
  To: julia.lawall, clemens, perex, tiwai, alsa-devel, linux-kernel
  Cc: 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.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-20  5:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-19 18:41 [PATCH 0/2] ALSA: add const to snd_ratnum structures Bhumika Goyal
2017-06-19 18:41 ` [PATCH 1/2] ALSA: sound/isa: constify " Bhumika Goyal
2017-06-19 18:41 ` [PATCH 2/2] ALSA: sound/pci: add const to " Bhumika Goyal
2017-06-20  5:57 ` [PATCH 0/2] ALSA: " Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox