Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751965AbdHRMTW (ORCPT ); Fri, 18 Aug 2017 08:19:22 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:33566 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751816AbdHRMTV (ORCPT ); Fri, 18 Aug 2017 08:19:21 -0400 Date: Fri, 18 Aug 2017 13:19:17 +0100 From: Mark Brown To: Arvind Yadav Cc: bardliao@realtek.com, oder_chiou@realtek.com, timur@tabi.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 04/14] ASoC: fsl: constify snd_soc_dai_ops structures Message-ID: <20170818121917.cnuosdov4zvsp6qb@sirena.org.uk> References: <1503057971-16033-1-git-send-email-arvind.yadav.cs@gmail.com> <1503057971-16033-5-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sy3tgyelnovn6f6h" Content-Disposition: inline In-Reply-To: <1503057971-16033-5-git-send-email-arvind.yadav.cs@gmail.com> X-Cookie: Do you like "TENDER VITTLES"? User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 968 Lines: 28 --sy3tgyelnovn6f6h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Aug 18, 2017 at 05:36:01PM +0530, Arvind Yadav wrote: > snd_soc_dai_ops are not supposed to change at runtime. All functions > working with snd_soc_dai_ops provided by work with > const snd_soc_dai_ops. So mark the non-const structs as const. Same here... --sy3tgyelnovn6f6h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlmW20QACgkQJNaLcl1U h9BmRAf/TRoNlN/UE20RIQWao87+alcv9XKMEnTEifehMwvHRKz5p3CMX6+DOZYS TCnX42Q23CozxF64ywAbzRZyJUl66RxlNxiHF5sVVxV37NTmuQi1gLZqLrmLfz9t W3Ul0u5kkrLDC8QmxlshfBTID4dxA5OWdtUi62lYds+16erg8A+zGiAqgJV7a8f1 Oew48OSFfoFw8o96SHxVTDQHwzN6flcWhj08gGfjH2H0VIgqLaGI3E+431PRePzL CJG34cINEgg4JkV8Txx8QLGd0D6QBjJa1WaamYESTtBhtNTqw2USsj2EtsJsfhy/ MYmy3CJOzlPsnbccCT71tPanabn9YQ== =MzTH -----END PGP SIGNATURE----- --sy3tgyelnovn6f6h--