[alsa-devel] [PATCH 00/15] constify pnp_device_id and pnp_card_device_id

Arvind Yadav arvind.yadav.cs at gmail.com
Thu Aug 17 12:06:15 CEST 2017


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

Arvind Yadav (15):
  [PATCH 01/15] ALSA: drivers: mpu401: constify pnp_device_id
  [PATCH 02/15] ALSA: es18xx: constify pnp_device_id and pnp_card_device_id
  [PATCH 03/15] ALSA: opl3sa2: constify pnp_device_id and pnp_card_device_id
  [PATCH 04/15] ALSA: ad1816a: constify pnp_card_device_id
  [PATCH 05/15] ALSA: als100: constify pnp_card_device_id
  [PATCH 06/15] ALSA: azt2320: constify pnp_card_device_id
  [PATCH 07/15] ALSA: cmi8330: constify pnp_card_device_id
  [PATCH 08/15] ALSA: cs4236: constify pnp_card_device_id
  [PATCH 09/15] ALSA: es1688: constify pnp_card_device_id
  [PATCH 10/15] ALSA: gus: constify pnp_card_device_id
  [PATCH 11/15] ALSA: msnd: constify pnp_card_device_id
  [PATCH 12/15] ALSA: opti9xx: constify pnp_card_device_id
  [PATCH 13/15] ALSA: sb16: constify pnp_card_device_id
  [PATCH 14/15] ALSA: sscape: constify pnp_card_device_id
  [PATCH 15/15] ALSA: wavefront: constify pnp_card_device_id

 sound/drivers/mpu401/mpu401.c      | 2 +-
 sound/isa/ad1816a/ad1816a.c        | 2 +-
 sound/isa/als100.c                 | 2 +-
 sound/isa/azt2320.c                | 2 +-
 sound/isa/cmi8330.c                | 2 +-
 sound/isa/cs423x/cs4236.c          | 2 +-
 sound/isa/es1688/es1688.c          | 2 +-
 sound/isa/es18xx.c                 | 4 ++--
 sound/isa/gus/interwave.c          | 2 +-
 sound/isa/msnd/msnd_pinnacle.c     | 2 +-
 sound/isa/opl3sa2.c                | 4 ++--
 sound/isa/opti9xx/miro.c           | 2 +-
 sound/isa/opti9xx/opti92x-ad1848.c | 2 +-
 sound/isa/sb/sb16.c                | 2 +-
 sound/isa/sscape.c                 | 2 +-
 sound/isa/wavefront/wavefront.c    | 2 +-
 16 files changed, 18 insertions(+), 18 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list