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: 11438 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 23D9523E42 for ; Fri, 14 Sep 2012 21:35:46 +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 B0E1CA392A5 for ; Fri, 14 Sep 2012 21:35:37 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so3512422iaf.11 for ; Fri, 14 Sep 2012 14:35:37 -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=bFA/pfBvf4Yp/Eb08FnRDUhr14oUi6Qyn0aI0s8vbSo=; b=hiJKVGJSsl6dQsqqWWrzNTd+AH4670zaRdrPzp/2FL43Rc9JWQvFg2aQeNSwZQpKXW oqSjgkZro7q+REmwcYqtuuNdCcIsrgb6n4iIZ24OVAAjAtXKTSgBe0q3euplLO34VnNw Z124DJ7ZGkGhL2oKCaZlijgroFIee7I1+bueslLKEgNTer6ZQsi97+2Rdv959vsNXEAZ OMNZIhrE4OfxEn2+G1tdmya8a5HguP5E+v7LsAyqt0T2UfAE94B0D21ePAQf1rgZlf9X o/nhDOvyxQ+UpsdVxtSMpO2lduTNegmO0TKgRVUyqs/yEBDo8tJw1f0OhvbP/kOnQ8LK zwzA== Received: by 10.42.109.194 with SMTP id m2mr3314597icp.48.1347658537410; Fri, 14 Sep 2012 14:35:37 -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 ex8csp215422igc; Fri, 14 Sep 2012 14:35:36 -0700 (PDT) Received: by 10.180.93.68 with SMTP id cs4mr687551wib.14.1347658536196; Fri, 14 Sep 2012 14:35:36 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.17.10]) by mx.google.com with ESMTP id x58si3529669weo.161.2012.09.14.14.35.35; Fri, 14 Sep 2012 14:35:36 -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 0Lxuke-1TZedi0Olo-015rsN; Fri, 14 Sep 2012 23:35:30 +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 , netdev@vger.kernel.org, "David S. Miller" 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-Gm-Message-State: ALoCoQlBZpSMU5iGs4dpZMaowNZJA0ymZIxMSScUEcHRYymTaglsdOf1I3BjysyRnANGxDZjnMb6 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);