[alsa-devel] [PATCH 05/14] ASoC: hisilicon: constify snd_soc_dai_ops structures

Mark Brown broonie at kernel.org
Fri Aug 18 14:20:34 CEST 2017


On Fri, Aug 18, 2017 at 05:36:02PM +0530, Arvind Yadav wrote:
> snd_soc_dai_ops are not supposed to change at runtime. All functions
> working with snd_soc_dai_ops provided by <sound/soc-dai.h> work with
> const snd_soc_dai_ops. So mark the non-const structs as const.

...and this.  I'll not reply to any of the others in the series but I'm
guessing there'll be a bunch of others.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170818/d6b60276/attachment.sig>


More information about the Alsa-devel mailing list