diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 16:31:11 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-19 09:37:13 -0400 |
commit | d19bd83672dfc1f869e2b2122d99a2ceae7d0f7e (patch) | |
tree | 8494eaf9daf332a88bdbf8290fa495b93bfd7079 /drivers/tty/serial/serial_ks8695.c | |
parent | fe73f03549a28204866387311f7d3d9ef5e1503a (diff) |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/tty/serial/serial_ks8695.c')
-rw-r--r-- | drivers/tty/serial/serial_ks8695.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/serial_ks8695.c b/drivers/tty/serial/serial_ks8695.c index 7c13639c597e..9bd004f9da89 100644 --- a/drivers/tty/serial/serial_ks8695.c +++ b/drivers/tty/serial/serial_ks8695.c | |||
@@ -548,8 +548,8 @@ static struct uart_ops ks8695uart_pops = { | |||
548 | 548 | ||
549 | static struct uart_port ks8695uart_ports[SERIAL_KS8695_NR] = { | 549 | static struct uart_port ks8695uart_ports[SERIAL_KS8695_NR] = { |
550 | { | 550 | { |
551 | .membase = (void *) KS8695_UART_VA, | 551 | .membase = KS8695_UART_VA, |
552 | .mapbase = KS8695_UART_VA, | 552 | .mapbase = KS8695_UART_PA, |
553 | .iotype = SERIAL_IO_MEM, | 553 | .iotype = SERIAL_IO_MEM, |
554 | .irq = KS8695_IRQ_UART_TX, | 554 | .irq = KS8695_IRQ_UART_TX, |
555 | .uartclk = KS8695_CLOCK_RATE * 16, | 555 | .uartclk = KS8695_CLOCK_RATE * 16, |