Hi Grant, On Mon, May 21, 2012 at 09:49:35PM +0200, Uwe Kleine-König wrote: > This is only cosmetic for now. In case that > > > http://mid.gmane.org/1335171381-24869-1-git-send-email-u.kleine-koe...@pengutronix.de > > will be applied, it fixes a warning > > drivers/spi/spi-imx.c: In function spi_imx_probe: > drivers/spi/spi-imx.c:814:24: warning: assignment discards const > qualifier from pointer target type [enabled by default] > > though. > > Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de> ping
Best regards Uwe > --- > drivers/spi/spi-imx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c > index 570f220..37b3a26 100644 > --- a/drivers/spi/spi-imx.c > +++ b/drivers/spi/spi-imx.c > @@ -95,7 +95,7 @@ struct spi_imx_data { > const void *tx_buf; > unsigned int txfifo; /* number of words pushed in tx FIFO */ > > - struct spi_imx_devtype_data *devtype_data; > + const struct spi_imx_devtype_data *devtype_data; > int chipselect[0]; > }; > > -- > 1.7.10 > > -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss