[alsa-devel] [PATCH] ASoC: Staticise and constify cs42l73_reg_defaults

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 28 22:30:38 CET 2011

On Mon, Nov 28, 2011 at 03:26:53PM -0600, Brian Austin wrote:

> Shouldn't this require struct reg_default *reg_defaults;
> be const as well?

> sound/soc/codecs/cs42l73.c:1327: warning: initialization discards
> qualifiers from pointer target type

It'll all be fine in -next, the regmap header has changed there.

More information about the Alsa-devel mailing list