Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752982AbdCTG46 (ORCPT ); Mon, 20 Mar 2017 02:56:58 -0400 Received: from 50-87-157-213.static.tentacle.fi ([213.157.87.50]:38417 "EHLO bitmer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752153AbdCTG45 (ORCPT ); Mon, 20 Mar 2017 02:56:57 -0400 X-Greylist: delayed 1499 seconds by postgrey-1.27 at vger.kernel.org; Mon, 20 Mar 2017 02:56:56 EDT Date: Mon, 20 Mar 2017 08:29:05 +0200 From: Jarkko Nikula To: Sebastian Reichel Cc: Bhumika Goyal , julia.lawall@lip6.fr, peter.ujfalusi@ti.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: omap: constify snd_soc_ops structures Message-ID: <20170320062905.GA4334@bitmer.com> References: <1489845851-25364-1-git-send-email-bhumirks@gmail.com> <20170320005326.7gkckcy4rbgqij3h@earth> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170320005326.7gkckcy4rbgqij3h@earth> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 729 Lines: 19 On Mon, Mar 20, 2017 at 01:53:26AM +0100, Sebastian Reichel wrote: > Hi, > > On Sat, Mar 18, 2017 at 07:34:11PM +0530, Bhumika Goyal wrote: > > Declare snd_soc_ops structures as const as they are only stored > > in the ops field of a snd_soc_dai_link structure. This field is > > of type const, so snd_soc_ops structures having this property > > can be made const too. > > > > Cross compiled the .o files for arm architecture. > > > > Signed-off-by: Bhumika Goyal > > I actually noticed this while working on Droid 4's sound support and > added this to my TODO list - stroking it off again now :) > > Reviewed-by: Sebastian Reichel > Acked-by: Jarkko Nikula