Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751679AbdHRMTC (ORCPT ); Fri, 18 Aug 2017 08:19:02 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:32996 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751167AbdHRMTB (ORCPT ); Fri, 18 Aug 2017 08:19:01 -0400 Date: Fri, 18 Aug 2017 13:18:57 +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 03/14] ASoC: dwc: constify snd_soc_dai_ops structures Message-ID: <20170818121857.vz2fez7fhgriklfy@sirena.org.uk> References: <1503057971-16033-1-git-send-email-arvind.yadav.cs@gmail.com> <1503057971-16033-4-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o23rv6r476qrb3ph" Content-Disposition: inline In-Reply-To: <1503057971-16033-4-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: 1006 Lines: 28 --o23rv6r476qrb3ph Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Aug 18, 2017 at 05:36:00PM +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. A version of this has also already been applied... --o23rv6r476qrb3ph Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlmW2zAACgkQJNaLcl1U h9ABrgf9GKQ8rHwjhYqPiLGm6fhIc3AoM31Z77Kr6LJgpq9PGxYe6oJOGpZVd2te zQ6liElaKQA7mZNmXLuA5uPpRhONph5I24ElOMXzV/V9fJGFrnwLo+8YcKdBSEGg /ECvnRjcqZx0OA7RJAfxjlBvUn6qI2CxhiW3IIJ5EC0J8kSrcWwmnO3oob/lT+iW Ob5t4N0IugumNBVDU7wVUIqoUcTWKWvu6z2gNg4I7VUzPhM7N3FOPL+aN1ALdft3 7GlJl0pHtclSD8rwgxK5S3S63xswbqzunFBKA5E1yRzpQTemnG5RBF08Ckz77ihH POMB1SiyPb7P2h6XfjzBlv71aLlsxg== =Bq64 -----END PGP SIGNATURE----- --o23rv6r476qrb3ph--