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*
Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ------------------------------------------------------------------------------ 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 spi-devel-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spi-devel-general