serial: ks8695: use __iomem pointers for MMIO
authorArnd Bergmann <arnd@arndb.de>
Fri, 14 Sep 2012 20:31:11 +0000 (20:31 +0000)
committerArnd Bergmann <arnd@arndb.de>
Wed, 19 Sep 2012 13:37:13 +0000 (15:37 +0200)
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>
drivers/tty/serial/serial_ks8695.c

index 7c13639c597ef878527e94208bd9ffc2a5cb8e4d..9bd004f9da89aaea87d7bb54bdb9f7d37900f9da 100644 (file)
@@ -548,8 +548,8 @@ static struct uart_ops ks8695uart_pops = {
 
 static struct uart_port ks8695uart_ports[SERIAL_KS8695_NR] = {
        {
-               .membase        = (void *) KS8695_UART_VA,
-               .mapbase        = KS8695_UART_VA,
+               .membase        = KS8695_UART_VA,
+               .mapbase        = KS8695_UART_PA,
                .iotype         = SERIAL_IO_MEM,
                .irq            = KS8695_IRQ_UART_TX,
                .uartclk        = KS8695_CLOCK_RATE * 16,