]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial/imx: make imx_port.devdata member point to const data
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>
Mon, 23 Jul 2012 15:44:55 +0000 (17:44 +0200)
commitb14ed4c87351a52ff7aca3e55f23cfd553ac1084
tree6c78b73c45d3679e264d556015ea1e6370e5c04c
parent956e002f892631ea4eac0c900c15c1c043eb8628
serial/imx: make imx_port.devdata member point to const data

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

drivers/tty/serial/imx.c: In function 'serial_imx_probe_dt':
drivers/tty/serial/imx.c:1430:17: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/tty/serial/imx.c