[alsa-devel] [PATCH v5] ASoC: Add Freescale SGTL5000 codec support

Timur Tabi timur.tabi at gmail.com
Sat Feb 26 00:01:45 CET 2011

On Fri, Feb 25, 2011 at 9:56 AM, Zeng Zhaoming <zengzm.kernel at gmail.com> wrote:

> I have not remove void* since my toolchain ( gcc 4.4.4) complains
> about the type mismatch, I will test
> it with other version toolchain to confirm.

That's because you declared sgtl5000_regs[] as "const", which it
isn't.  The compiler is trying to tell you that you made a mistake.

Timur Tabi
Linux kernel developer at Freescale

More information about the Alsa-devel mailing list