On Tue, 27 Mar 2012 09:01:35 +0200, Uwe Kleine-König
<[email protected]> wrote:
> Hello Fabio,
>
> On Mon, Mar 26, 2012 at 11:19:42PM -0300, Fabio Estevam wrote:
> > On 3/26/2012 5:59 PM, Uwe Kleine-König wrote:
> >
> > > In my version of drivers/spi/spi-imx.c struct spi_imx_data is only
> > > defined once. I guess you wanted to say "forward declaration".
> >
> > Yes, correct.
> >
> > ...
> >
> > > Does this really work? struct spi_imx_data has a member
> >
> > Yes, tested it on a mx31pdk board.
> Strange, I can confirm it compiles without warnings. Even sparse doesn't
> complain about it. I don't understand it. *shrug*
Still doesn't look right though because there needs to be a forward
declaration for spi_imx_devtype_data before it is used. I'm not going
to apply.
g.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general