25 Feb
2011
25 Feb
'11
11:01 p.m.
On Fri, Feb 25, 2011 at 9:56 AM, Zeng Zhaoming zengzm.kernel@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