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


Groups > linux.kernel > #1686284

Re: [PATCH] ASoC: sun8i-codec: constify snd_soc_dai_ops structure

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: sun8i-codec: constify snd_soc_dai_ops structure
Date 2017-07-13 08:40 +0200
Message-ID <u2FX4-240-13@gated-at.bofh.it> (permalink)
References <u2Fkm-1AK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Jul 13, 2017 at 12:52:23AM -0500, Gustavo A. R. Silva 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>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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


Thread

[PATCH] ASoC: sun8i-codec: constify snd_soc_dai_ops structure "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-07-13 08:00 +0200
  Re: [PATCH] ASoC: sun8i-codec: constify snd_soc_dai_ops structure Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-13 08:40 +0200

csiph-web