From patchwork Fri Sep 14 21:34:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11432 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id CC0D4240A0 for ; Fri, 14 Sep 2012 21:35:35 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 807E5A39269 for ; Fri, 14 Sep 2012 21:35:32 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so3512549iaf.11 for ; Fri, 14 Sep 2012 14:35:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=sFQ2VZi4u1YtwHF8pR3vicd2Uy/U+VGgHj8HDjjkysA=; b=pNLcbL0InxSFqoWrosUR+B8kUv8otwvzrVEKWdymakMYu2OCYC2eV7B0wxj+KB9ZOG 7+oi16t4Yhd2+JXGbdt+RMqBNXQiQmEd64XSf5cd3hLTpMo8tGfaITyJhxBHpwwjGgWt IMe4agd71VWXs4vM+C3N34JYCdO2aotsMklx5+5eBfQTm2AdZnS3vphtRK+KVoIVWaU+ t4eVisRG7YwAae7InXj6029+x5oJHcAsbSGOM8nxhPU/XvFUa3dXNmLSOIhkGidStBir SqLJRMbmVvKqc6ViXU1kXAKp5tYOWx7Kr692jEi6QQb/+LxxJtyH/a/Jt+MrSf+O5GHI 44WQ== Received: by 10.50.242.3 with SMTP id wm3mr150166igc.0.1347658532180; Fri, 14 Sep 2012 14:35:32 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp215412igc; Fri, 14 Sep 2012 14:35:31 -0700 (PDT) Received: by 10.204.155.69 with SMTP id r5mr2166300bkw.49.1347658530988; Fri, 14 Sep 2012 14:35:30 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.17.9]) by mx.google.com with ESMTP id fs14si1666775bkc.44.2012.09.14.14.35.30; Fri, 14 Sep 2012 14:35:30 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.17.9 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.17.9; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.17.9 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de Received: from localhost.localdomain (HSI-KBW-149-172-5-253.hsi13.kabel-badenwuerttemberg.de [149.172.5.253]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MKt72-1TCdXs25jM-000c1z; Fri, 14 Sep 2012 23:35:28 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Will Deacon , Russell King , Nicolas Pitre , Arnd Bergmann , Alan Cox , Greg Kroah-Hartman Subject: [PATCH 21/24] serial: ks8695: use __iomem pointers for MMIO Date: Fri, 14 Sep 2012 23:34:49 +0200 Message-Id: <1347658492-11608-22-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1347658492-11608-1-git-send-email-arnd@arndb.de> References: <1347658492-11608-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:URW70d2nAKAwMxiDiMNXVdeLFnSZLWM5hPl2ttyV3tp PkF13eZpWvG97+b5WnHqjuk2lYdLMYidR24oYh5F0d+wph+FJT qUwUGlByPCwELhq/2upbr+g621dCW3RcKqPlrpbfWHNlztW1bC IG+DgX910dSYAojqOUNbBoAjx+OH+wUyislbgP5mvtp5L+n26T BhM7qy3OhcvwBzxA4U/sdl/5dzw3TEBRhwL61Fyd2vPY+/vHm2 0+/ynEI9isNKRMox3TEziGbhuL1f7opEyVhXFWdg7gB2EwrDA7 rmpkCAAasbdNYWlJeBp3jla4d23dXTxvD36eWe0zftkQnhx2yq XaOmtiYB201y/UpK3gIuCCyhu/SQgY74lDyb3hEBF8Armu68Vs L22Frar5td+aQ== X-Gm-Message-State: ALoCoQkEoLhP1KRga1nVTArQWNMxGnB5budG5LCO6d9dAO1WMVbGQSftIBwNhLgOrsEj4oCyOfJC ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: Alan Cox Cc: Greg Kroah-Hartman Signed-off-by: Arnd Bergmann --- drivers/tty/serial/serial_ks8695.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/serial_ks8695.c b/drivers/tty/serial/serial_ks8695.c index 7c13639..9bd004f 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 = { 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,