[alsa-devel] [PATCH] ASoC: spear: spdif_in: constify snd_soc_dai_ops structure

Viresh Kumar viresh.kumar at linaro.org
Thu Jul 13 08:24:49 CEST 2017


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

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


More information about the Alsa-devel mailing list