Commit d19bd836 authored by Arnd Bergmann's avatar Arnd Bergmann

serial: ks8695: use __iomem pointers for MMIO

ARM is moving to stricter checks on readl/write functions,
so we need to use the correct types everywhere.

Cc: Alan Cox <alan@linux.intel.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent fe73f035
...@@ -548,8 +548,8 @@ static struct uart_ops ks8695uart_pops = { ...@@ -548,8 +548,8 @@ static struct uart_ops ks8695uart_pops = {
static struct uart_port ks8695uart_ports[SERIAL_KS8695_NR] = { static struct uart_port ks8695uart_ports[SERIAL_KS8695_NR] = {
{ {
.membase = (void *) KS8695_UART_VA, .membase = KS8695_UART_VA,
.mapbase = KS8695_UART_VA, .mapbase = KS8695_UART_PA,
.iotype = SERIAL_IO_MEM, .iotype = SERIAL_IO_MEM,
.irq = KS8695_IRQ_UART_TX, .irq = KS8695_IRQ_UART_TX,
.uartclk = KS8695_CLOCK_RATE * 16, .uartclk = KS8695_CLOCK_RATE * 16,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment