spi/spi-omap2-mcspi: add a const qualifier
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 21 May 2012 19:57:39 +0000 (21:57 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 3 Aug 2012 11:58:37 +0000 (13:58 +0200)
commit83a01e729141bfad5e249b4a737105c525f53786
treeaae70f6707117b0fb43b68473368adf6408b5912
parent80023cb354725cd3319d81a8d7e6f88ad0253cfa
spi/spi-omap2-mcspi: add a const qualifier

This prepares *of_device_id.data becoming const. Without this change
the following warning would occur:

drivers/spi/spi-omap2-mcspi.c: In function 'omap2_mcspi_probe':
drivers/spi/spi-omap2-mcspi.c:1118: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/spi/spi-omap2-mcspi.c