[alsa-devel] [PATCH] ASoC: omap: constify snd_soc_ops structures
Jarkko Nikula
jarkko.nikula at bitmer.com
Mon Mar 20 07:29:05 CET 2017
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 at gmail.com>
>
> 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 at kernel.org>
>
Acked-by: Jarkko Nikula <jarkko.nikula at bitmer.com>
More information about the Alsa-devel
mailing list