diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2012-05-21 21:57:39 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2012-09-11 08:55:59 +0200 |
commit | 76d28e441ee967f49ec36f34664d54118c438ecd (patch) | |
tree | 1a07651e6dd91489c5649bb6a28a1f70942e9664 /arch/arm/mm/cache-l2x0.c | |
parent | serial/imx: make imx_port.devdata member point to const data (diff) | |
download | linux-76d28e441ee967f49ec36f34664d54118c438ecd.tar.xz linux-76d28e441ee967f49ec36f34664d54118c438ecd.zip |
serial/mpc52xx_uart: add a const qualifier
This prepares *of_device_id.data becoming const. Without this change
the following warning would occur:
drivers/tty/serial/mpc52xx_uart.c: In function 'mpc52xx_uart_of_enumerate':
drivers/tty/serial/mpc52xx_uart.c:1440:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mm/cache-l2x0.c')
0 files changed, 0 insertions, 0 deletions