From patchwork Sat May 31 12:10:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 4275341 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 529649F358 for ; Sat, 31 May 2014 12:13:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89C6720253 for ; Sat, 31 May 2014 12:13:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C152B202E6 for ; Sat, 31 May 2014 12:13:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wqi7w-0003DV-Hw; Sat, 31 May 2014 12:11:08 +0000 Received: from smtp32.i.mail.ru ([94.100.177.92]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wqi7t-000390-Hb for linux-arm-kernel@lists.infradead.org; Sat, 31 May 2014 12:11:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=PRvOVb0M/WOrq1dxOuY/txd/C112I5C+NsRdN49gfhs=; b=Z+en3COZF9U6uVCrYYyulqZLMCrUl/kArsgM8CkpU2IcZ3IicDm0uDYbkd3y65ICuB9cVbX+1yQIqdMoADWiuKmBYuhp0q+T1RKd55ug/kjNuWi69mIpJNwRZOzBOge/KkD9BVKHcWSVskpWsXD8ly3YXKglzxP4h/RnHa79H7c=; Received: from [5.18.98.7] (port=56821 helo=shc.zet) by smtp32.i.mail.ru with esmtpa (envelope-from ) id 1Wqi7U-0004eX-RM; Sat, 31 May 2014 16:10:41 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/5] ARM: clps711x: Remove IO_ADDRESS() macro Date: Sat, 31 May 2014 16:10:09 +0400 Message-Id: <1401538213-16106-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.5.5 X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140531_051106_196180_A29B6FCD X-CRM114-Status: GOOD ( 10.41 ) X-Spam-Score: -0.1 (/) Cc: Olof Johansson , Kevin Hilman , Russell King , Alexander Shiyan , Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP All uses of the IO_ADDRESS() macro has been removed. This patch removes the definition of this macro. Signed-off-by: Alexander Shiyan --- arch/arm/mach-clps711x/include/mach/hardware.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/mach-clps711x/include/mach/hardware.h b/arch/arm/mach-clps711x/include/mach/hardware.h index 5d6afda..292cbcb 100644 --- a/arch/arm/mach-clps711x/include/mach/hardware.h +++ b/arch/arm/mach-clps711x/include/mach/hardware.h @@ -24,10 +24,7 @@ #include -#define IO_ADDRESS(x) (0xdc000000 + (((x) & 0x03ffffff) | \ - (((x) >> 2) & 0x3c000000))) - -#define CLPS711X_VIRT_BASE IOMEM(IO_ADDRESS(CLPS711X_PHYS_BASE)) +#define CLPS711X_VIRT_BASE IOMEM(0xfe000000) #ifndef __ASSEMBLY__ #define clps_readb(off) readb(CLPS711X_VIRT_BASE + (off))