[alsa-devel] [PATCH 7/8] ASoC: wm8988: Constify struct regmap_config and snd_soc_codec_driver
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Tue Jan 6 10:13:52 CET 2015
On Mon, Jan 05, 2015 at 10:18:27AM +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 const as well (snd_soc_register_codec() accepts
> pointer to const).
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
> Cc: patches at opensource.wolfsonmicro.com
> ---
Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list