Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1604210

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

From Jarkko Nikula <jarkko.nikula@bitmer.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: omap: constify snd_soc_ops structures
Date 2017-03-20 08:00 +0100
Message-ID <tmZsl-V0-1@gated-at.bofh.it> (permalink)
References <tmndn-7rE-5@gated-at.bofh.it> <tmTPY-5kh-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@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@kernel.org>
> 
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: omap: constify snd_soc_ops structures Bhumika Goyal <bhumirks@gmail.com> - 2017-03-18 15:10 +0100
  Re: [PATCH] ASoC: omap: constify snd_soc_ops structures Sebastian Reichel <sre@kernel.org> - 2017-03-20 02:00 +0100
    Re: [PATCH] ASoC: omap: constify snd_soc_ops structures Jarkko Nikula <jarkko.nikula@bitmer.com> - 2017-03-20 08:00 +0100

csiph-web