Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] 4999/1: <IMX UART>: fix membase

The membase field in struct uart_port should be the the physical
address. This patch fixes it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Sascha Hauer and committed by
Russell King
3a8daaa4 3d454446

+2 -2
+2 -2
drivers/serial/imx.c
··· 810 810 .type = PORT_IMX, 811 811 .iotype = UPIO_MEM, 812 812 .membase = (void *)IMX_UART1_BASE, 813 - .mapbase = IMX_UART1_BASE, /* FIXME */ 813 + .mapbase = 0x00206000, 814 814 .irq = UART1_MINT_RX, 815 815 .uartclk = 16000000, 816 816 .fifosize = 32, ··· 826 826 .type = PORT_IMX, 827 827 .iotype = UPIO_MEM, 828 828 .membase = (void *)IMX_UART2_BASE, 829 - .mapbase = IMX_UART2_BASE, /* FIXME */ 829 + .mapbase = 0x00207000, 830 830 .irq = UART2_MINT_RX, 831 831 .uartclk = 16000000, 832 832 .fifosize = 32,