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


Groups > linux.kernel > #1686282

Re: [PATCH] ASoC: spear: spdif_in: constify snd_soc_dai_ops structure

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: spear: spdif_in: constify snd_soc_dai_ops structure
Date 2017-07-13 08:30 +0200
Message-ID <u2FNo-1ZF-11@gated-at.bofh.it> (permalink)
References <u2FDI-1Wm-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jul 13, 2017 at 11:27 AM, Gustavo A. R. Silva
<garsilva@embeddedor.com> wrote:
> This structure is 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.
>
> Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
> ---
>  sound/soc/spear/spdif_in.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

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


Thread

[PATCH] ASoC: spear: spdif_in: constify snd_soc_dai_ops structure "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-07-13 08:20 +0200
  Re: [PATCH] ASoC: spear: spdif_in: constify snd_soc_dai_ops structure Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-13 08:30 +0200

csiph-web