From: Krzysztof Kozlowski Date: Mon, 5 Jan 2015 09:18:23 +0000 (+0100) Subject: ASoC: cs42l52: Constify struct regmap_config and snd_soc_codec_driver X-Git-Tag: fixes-v4.0-rc1~146^2~13^2~9^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5fbcbab50b4f8065666d3633f47722bf8969b34;p=pandora-kernel.git ASoC: cs42l52: Constify struct regmap_config and snd_soc_codec_driver 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 const as well (snd_soc_register_codec() accepts pointer to const). Signed-off-by: Krzysztof Kozlowski Acked-by: Brian Austin Signed-off-by: Mark Brown --- Reading git-diff-tree failed