Re: [PATCH 04/25] serial/mpc52xx_uart: add a const qualifier
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2012-07-23 15:31:38
Also in:
linux-arm-kernel
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2012-07-23 15:31:38
Also in:
linux-arm-kernel
On Mon, Jul 23, 2012 at 11:13:09AM +0200, Uwe Kleine-König wrote:
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] Signed-off-by: Uwe Kleine-König <redacted>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html