From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Keepax Subject: Re: [PATCH 8/8] ASoC: wm8804: Constify struct regmap_config and snd_soc_codec_driver Date: Tue, 6 Jan 2015 09:14:48 +0000 Message-ID: <20150106091448.GM14516@opensource.wolfsonmicro.com> References: <1420449508-10701-1-git-send-email-k.kozlowski@samsung.com> <1420449508-10701-8-git-send-email-k.kozlowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 80D5226056A for ; Tue, 6 Jan 2015 10:14:49 +0100 (CET) Content-Disposition: inline In-Reply-To: <1420449508-10701-8-git-send-email-k.kozlowski@samsung.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Krzysztof Kozlowski Cc: alsa-devel@alsa-project.org, Takashi Iwai , patches@opensource.wolfsonmicro.com, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown List-Id: alsa-devel@alsa-project.org On Mon, Jan 05, 2015 at 10:18:28AM +0100, Krzysztof Kozlowski wrote: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. Make struct > snd_soc_codec_driver (snd_soc_register_codec() accepts pointer to const) > and array of default register values const as well. > > Signed-off-by: Krzysztof Kozlowski > Cc: patches@opensource.wolfsonmicro.com > --- Acked-by: Charles Keepax Thanks, Charles