Re: [PATCH] ASoC: spear: spdif_in: constify snd_soc_dai_ops structure
From: Viresh Kumar
Date: Thu Jul 13 2017 - 02:25:00 EST
On Thu, Jul 13, 2017 at 11:27 AM, Gustavo A. R. Silva
<garsilva@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
> ---
> sound/soc/spear/spdif_in.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>