Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751174AbdGMGYw (ORCPT ); Thu, 13 Jul 2017 02:24:52 -0400 Received: from mail-yb0-f176.google.com ([209.85.213.176]:33473 "EHLO mail-yb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877AbdGMGYu (ORCPT ); Thu, 13 Jul 2017 02:24:50 -0400 MIME-Version: 1.0 In-Reply-To: <20170713055710.GA21105@embeddedgus> References: <20170713055710.GA21105@embeddedgus> From: Viresh Kumar Date: Thu, 13 Jul 2017 11:54:49 +0530 X-Google-Sender-Auth: 7HrjQk8IE0WlWlYB7Roc7ENFNyA Message-ID: Subject: Re: [PATCH] ASoC: spear: spdif_in: constify snd_soc_dai_ops structure To: "Gustavo A. R. Silva" Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 497 Lines: 12 On Thu, Jul 13, 2017 at 11:27 AM, 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 > --- > sound/soc/spear/spdif_in.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Viresh Kumar