[alsa-devel] [PATCH 00/12] constify snd_soc_dai_ops structures

Gustavo A. R. Silva garsilva at embeddedor.com
Thu Jul 13 22:37:08 CEST 2017


This patchset aims to constify all snd_soc_dai_ops structures that
are only stored in the ops field of a snd_soc_dai_driver structure.
That field is declared const, so snd_soc_dai_ops structures that have
this property can be declared as const also.

Thanks!

Gustavo A. R. Silva (12):
  ASoC: cs42l42: constify snd_soc_dai_ops structure
  ASoC: rt5663: constify snd_soc_dai_ops structure
  ASoC: rt5616: constify snd_soc_dai_ops structure
  ASoC: msm8916-wcd-analog: constify snd_soc_dai_ops structure
  ASoC: max98926: constify snd_soc_dai_ops structure
  ASoC: rt5514: constify snd_soc_dai_ops structure
  ASoC: codecs: msm8916-wcd-digital: constify snd_soc_dai_ops structure
  ASoC: max9867: constify snd_soc_dai_ops structure
  ASoC: rk3036: constify snd_soc_dai_ops structure
  ASoC: hdac_hdmi: constify snd_soc_dai_ops structure
  ASoC: dwc: constify snd_soc_dai_ops structure
  ASoC: tas5720: constify snd_soc_dai_ops structure

 sound/soc/codecs/cs42l42.c             | 2 +-
 sound/soc/codecs/hdac_hdmi.c           | 2 +-
 sound/soc/codecs/inno_rk3036.c         | 2 +-
 sound/soc/codecs/max9867.c             | 2 +-
 sound/soc/codecs/max98926.c            | 2 +-
 sound/soc/codecs/msm8916-wcd-analog.c  | 2 +-
 sound/soc/codecs/msm8916-wcd-digital.c | 2 +-
 sound/soc/codecs/rt5514.c              | 2 +-
 sound/soc/codecs/rt5616.c              | 2 +-
 sound/soc/codecs/rt5663.c              | 2 +-
 sound/soc/codecs/tas5720.c             | 2 +-
 sound/soc/dwc/dwc-i2s.c                | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

-- 
2.5.0



More information about the Alsa-devel mailing list