Re: [PATCH] ASoC: omap: constify snd_soc_ops structures

From: Jarkko Nikula
Date: Mon Mar 20 2017 - 02:57:20 EST


On Mon, Mar 20, 2017 at 01:53:26AM +0100, Sebastian Reichel wrote:
> Hi,
>
> On Sat, Mar 18, 2017 at 07:34:11PM +0530, Bhumika Goyal wrote:
> > Declare snd_soc_ops structures as const as they are only stored
> > in the ops field of a snd_soc_dai_link structure. This field is
> > of type const, so snd_soc_ops structures having this property
> > can be made const too.
> >
> > Cross compiled the .o files for arm architecture.
> >
> > Signed-off-by: Bhumika Goyal <bhumirks@xxxxxxxxx>
>
> I actually noticed this while working on Droid 4's sound support and
> added this to my TODO list - stroking it off again now :)
>
> Reviewed-by: Sebastian Reichel <sre@xxxxxxxxxx>
>
Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxx>