alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] constify ALSA usb_device_id.
@ 2017-08-06  6:48 Arvind Yadav
  2017-08-06  6:48 ` [PATCH 1/7] ALSA: 6fire: constify usb_device_id Arvind Yadav
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Arvind Yadav @ 2017-08-06  6:48 UTC (permalink / raw)
  To: perex, tiwai, zonque, clemens; +Cc: alsa-devel, linux-kernel

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

Arvind Yadav (7):
  [PATCH 1/7] ALSA: 6fire: constify usb_device_id.
  [PATCH 2/7] ALSA: bcd2000: constify usb_device_id.
  [PATCH 3/7] ALSA: snd-usb-caiaq: constify usb_device_id.
  [PATCH 4/7] ALSA: usb-audio: constify usb_device_id.
  [PATCH 5/7] ALSA: ua101: constify usb_device_id.
  [PATCH 6/7] ALSA: us122l: constify usb_device_id.
  [PATCH 7/7] ALSA: usbusx2y: constify usb_device_id.

 sound/usb/6fire/chip.c      | 2 +-
 sound/usb/bcd2000/bcd2000.c | 2 +-
 sound/usb/caiaq/device.c    | 2 +-
 sound/usb/card.c            | 4 ++--
 sound/usb/misc/ua101.c      | 2 +-
 sound/usb/usx2y/us122l.c    | 2 +-
 sound/usb/usx2y/usbusx2y.c  | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.7.4

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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-06  6:48 [PATCH 0/7] constify ALSA usb_device_id Arvind Yadav
2017-08-06  6:48 ` [PATCH 1/7] ALSA: 6fire: constify usb_device_id Arvind Yadav
2017-08-06  6:48 ` [PATCH 2/7] ALSA: bcd2000: " Arvind Yadav
2017-08-06  6:48 ` [PATCH 3/7] ALSA: snd-usb-caiaq: " Arvind Yadav
2017-08-06  6:48 ` [PATCH 4/7] ALSA: usb-audio: " Arvind Yadav
2017-08-06  6:48 ` [PATCH 5/7] ALSA: ua101: " Arvind Yadav
2017-08-06  6:48 ` [PATCH 6/7] ALSA: us122l: " Arvind Yadav
2017-08-06  6:48 ` [PATCH 7/7] ALSA: usbusx2y: " Arvind Yadav
2017-08-06 20:21 ` [PATCH 0/7] constify ALSA usb_device_id Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).