[alsa-devel] [PATCH 8/8] ASoC: wm8804: Constify struct regmap_config and snd_soc_codec_driver
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Tue Jan 6 10:14:48 CET 2015
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 <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