Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Mark Brown Newsgroups: linux.kernel Subject: Re: [PATCH 04/14] ASoC: fsl: constify snd_soc_dai_ops structures Date: Fri, 18 Aug 2017 14:20:01 +0200 Message-ID: References: Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cZrDOt2Tsq8/L1ia40Q5vSHY0kXUtGE1CgjON5aIDqU=; b=mQIb+N9rEk2m3RAfBil1238VV R/5hazzHGOlRZZModxrtKsw7Jd10ASODlho3JAUPqpDGRbX3bhYvTKoTRbhOCI2PURk2Gzw90vgL+ dCm5vVz0edEJ51aq9aSq9V/kiLoq1WpuFXn1D941Reiea+02nkCadtVNXngCQUOb7v0q0=; MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sy3tgyelnovn6f6h" Content-Disposition: inline X-Cookie: Do you like "TENDER VITTLES"? User-Agent: NeoMutt/20170609 (1.8.3) Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 28 Organization: linux.* mail to news gateway X-Original-Cc: bardliao@realtek.com, oder_chiou@realtek.com, timur@tabi.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org X-Original-Date: Fri, 18 Aug 2017 13:19:17 +0100 X-Original-Message-ID: <20170818121917.cnuosdov4zvsp6qb@sirena.org.uk> X-Original-References: <1503057971-16033-1-git-send-email-arvind.yadav.cs@gmail.com> <1503057971-16033-5-git-send-email-arvind.yadav.cs@gmail.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1714858 --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--