Searched hist:"76 d28e441ee967f49ec36f34664d54118c438ecd" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | mpc52xx_uart.c | diff 76d28e441ee967f49ec36f34664d54118c438ecd Mon May 21 14:57:39 CDT 2012 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 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>
|