From patchwork Fri Sep 14 21:34:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11437 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 71DF823E42 for ; Fri, 14 Sep 2012 21:35:45 +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 8EC07A39266 for ; Fri, 14 Sep 2012 21:35:44 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so3512422iaf.11 for ; Fri, 14 Sep 2012 14:35:44 -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=Bi89oIoUYVNcwb1kx1M2hnCeDL02KU9osQi5pej4oFE=; b=Py0q2iJVfTkA2pI7gi358Cb7xho2sZ32YyiERlELh0JAEEvkzPViValuEkYx4JU3Qy 384pqk0qGWCSwYEwPOz78p3kBWWSGZZqbX9M5MLihzUfEJNE1b92Q4ApyOGBe5ozRRia WQZCkpIpCXxH+3aOq1uEv7RGuJe2tBczB4bowyWs1goU9EiLKgOhqw7OZEz3oro1Z5gb hc2yJ3ydQca88QMwUyvktOyLXCkxCVGoEMIn3D3TjzIRwJnS4UDrmt3GpivNEp1hDzO2 gv9aaoZSm0Tnri0nIc0nuQQgYPRB2xKZiMB+qlgyDBiUFDCfHSB+xlIvsyWI48+Qyi2d Aj4g== Received: by 10.50.237.41 with SMTP id uz9mr108069igc.43.1347658544367; Fri, 14 Sep 2012 14:35:44 -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 ex8csp215432igc; Fri, 14 Sep 2012 14:35:43 -0700 (PDT) Received: by 10.204.152.19 with SMTP id e19mr2215445bkw.8.1347658542887; Fri, 14 Sep 2012 14:35:42 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.17.10]) by mx.google.com with ESMTP id w19si4003957bkv.66.2012.09.14.14.35.42; Fri, 14 Sep 2012 14:35:42 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.17.10 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.17.10; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.17.10 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 0LlHiI-1TmFXy3bXC-00aV53; Fri, 14 Sep 2012 23:35:29 +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 , "James E.J. Bottomley" , linux-scsi@vger.kernel.org Subject: [PATCH 22/24] scsi: eesox: use __iomem pointers for MMIO Date: Fri, 14 Sep 2012 23:34:50 +0200 Message-Id: <1347658492-11608-23-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:YQtX/5fpKn71c3/NYeeQQVYNh3572Abjwh/XkDPMT0d GtyVflhQz4NLU8QoVe9OPo5wojWtLKpR7alV0M8cyz8oXKGSNV hlLnASTiXp65RHgznuGdEIxSCTOetuYPewTWDIULdUwS5Dho1m /AFTq/ZwxTVkrKy+szwKhMl+BQMFY7RfUaTqaOztpB2esS71sp rX4C1Y27FWlD6S5hiioFlhwa3gkAMbH6cKujYe06vuF6LiLGSL IVtYS2/EWqnZ+IU1387nef/1MlCPe2YbwJxmVJkNStJmdSPdql 80ddarbAuc0l2P7Z6I6JdtyBOvmHSGiyuNcMCqRyqqI3paKKeQ /GXeH9ZuTFwt7vGn4j3PWik94NURLVnlu3dCBwZk+djK0LfLwo 5JdL6rTb0KbFQ== X-Gm-Message-State: ALoCoQkt6n3lglgatNmUgC2ZgOWmZk1V/vNLd0LiFFzRtkU2BCq29OvuwoiW7+Dk6jQXDL2FxHK6 ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: "James E.J. Bottomley" Cc: linux-scsi@vger.kernel.org Signed-off-by: Arnd Bergmann --- drivers/scsi/arm/eesox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/arm/eesox.c b/drivers/scsi/arm/eesox.c index edfd12b..968d083 100644 --- a/drivers/scsi/arm/eesox.c +++ b/drivers/scsi/arm/eesox.c @@ -273,7 +273,7 @@ static void eesoxscsi_buffer_out(void *buf, int length, void __iomem *base) { const void __iomem *reg_fas = base + EESOX_FAS216_OFFSET; const void __iomem *reg_dmastat = base + EESOX_DMASTAT; - const void __iomem *reg_dmadata = base + EESOX_DMADATA; + void __iomem *reg_dmadata = base + EESOX_DMADATA; do { unsigned int status;