i2c/i2c-omap: 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>
Tue, 11 Sep 2012 06:56:47 +0000 (08:56 +0200)
commitc4dba0119bdab0af8fc11fab23301e015e198b24
tree880bf01ef5496b7174ee3649f72e63ee7163c2b4
parent01a04ddc86f904eff65e1668cf6524a58203fe2d
i2c/i2c-omap: add a const qualifier

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

drivers/i2c/busses/i2c-omap.c: In function 'omap_i2c_probe':
drivers/i2c/busses/i2c-omap.c:1025: warning: assignment discards qualifiers from pointer target type

Reviewed-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/i2c/busses/i2c-omap.c