From patchwork Fri Sep 14 21:34:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 1460941 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 2EFC23FD40 for ; Fri, 14 Sep 2012 21:48:18 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TCdgX-0005lC-Dp; Fri, 14 Sep 2012 21:44:26 +0000 Received: from moutng.kundenserver.de ([212.227.17.10]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TCdYB-0008DR-Ub for linux-arm-kernel@lists.infradead.org; Fri, 14 Sep 2012 21:35:53 +0000 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 0Lxuke-1TZedi0Olo-015rsN; Fri, 14 Sep 2012 23:35:30 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 24/24] net: seeq: use __iomem pointers for MMIO Date: Fri, 14 Sep 2012 23:34:52 +0200 Message-Id: <1347658492-11608-25-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:uNjnTbOT07cXZxX6nPHrQLKBrrIN00r0VzDHjutRG+J PM6xtCNhA8B3dxFenSLUZlT49mn1Zb42HD7e+FMUFzaXvVIOm/ lzUTOlS47rSQKTUbu8CeA/vRLlRw/xrv9PWPwMzgM/2y7uoJLb 75B5/iOH+sXGznT2BPUiS7QmDYiTs7nhWkdG4H/EGeosDOE8pn J0HEdkWXi7JuQ6tu0syGz4Kf8qV3n6ogJU9jvZE/XZ7Cvn04ph Ka8D94syRb0u1E9B++/j39eJMDiZPzQCyW5vG5foN9U7ihErwh Ryg/wpHNnjNV8s8tFauCxKyHMCYTvrS9cP0CujT4quNuxoEWR6 b0eA8TyyU3nH7NdqIguXk1pEcPVuiyqACA+YhZGVBI18wmDnjT MNdAu/PaeU2EA== X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.10 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Arnd Bergmann , Nicolas Pitre , netdev@vger.kernel.org, Will Deacon , linux-kernel@vger.kernel.org, Russell King , "David S. Miller" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: netdev@vger.kernel.org Cc: "David S. Miller" Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/seeq/ether3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/seeq/ether3.c b/drivers/net/ethernet/seeq/ether3.c index df808ac..6a40dd0 100644 --- a/drivers/net/ethernet/seeq/ether3.c +++ b/drivers/net/ethernet/seeq/ether3.c @@ -99,13 +99,13 @@ typedef enum { * The SEEQ8005 doesn't like us writing to its registers * too quickly. */ -static inline void ether3_outb(int v, const void __iomem *r) +static inline void ether3_outb(int v, void __iomem *r) { writeb(v, r); udelay(1); } -static inline void ether3_outw(int v, const void __iomem *r) +static inline void ether3_outw(int v, void __iomem *r) { writew(v, r); udelay(1);