]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 21 Jul 2012 19:03:30 +0000 (21:03 +0200)
commit956e002f892631ea4eac0c900c15c1c043eb8628
tree45916fc41114775f53dbcc8aaa91e8f7a2c65bd8
parent8bcb22c1c4d82acd032262e8d82ca0a275c35a2b
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