mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] constify ac97_pcm structures
@ 2017-08-23 12:09 Arvind Yadav
  2017-08-23 12:09 ` [PATCH 1/4] ALSA: aaci: " Arvind Yadav
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Arvind Yadav @ 2017-08-23 12:09 UTC (permalink / raw)
  To: linux, perex, tiwai; +Cc: linux-kernel, alsa-devel

ac97_pcm are not supposed to change at runtime. All functions
working with ac97_pcm provided by <sound/ac97_codec.h> work with
const ac97_pcm. So mark the non-const structs as const.

Arvind Yadav (4):
  [PATCH 1/4] ALSA: aaci: constify ac97_pcm structures
  [PATCH 2/4] ALSA: ac97c: constify ac97_pcm structures
  [PATCH 3/4] ALSA: atiixp: constify ac97_pcm structures
  [PATCH 4/4] ALSA: intel8x0: constify ac97_pcm structures

 sound/arm/aaci.c     | 2 +-
 sound/atmel/ac97c.c  | 2 +-
 sound/pci/atiixp.c   | 2 +-
 sound/pci/intel8x0.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-08-23 13:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 12:09 [PATCH 0/4] constify ac97_pcm structures Arvind Yadav
2017-08-23 12:09 ` [PATCH 1/4] ALSA: aaci: " Arvind Yadav
2017-08-23 12:09 ` [PATCH 2/4] ALSA: ac97c: " Arvind Yadav
2017-08-23 12:09 ` [PATCH 3/4] ALSA: atiixp: " Arvind Yadav
2017-08-23 12:09 ` [PATCH 4/4] ALSA: intel8x0: " Arvind Yadav
2017-08-23 13:54 ` [PATCH 0/4] " Takashi Iwai

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

all inboxes | Powered by JetHome®