From patchwork Wed Aug 8 13:06:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 175927 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (unknown [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F15C32C0098 for ; Wed, 8 Aug 2012 23:09:43 +1000 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sz5yA-0005yJ-Cl; Wed, 08 Aug 2012 13:06:38 +0000 Received: from mail-yx0-f177.google.com ([209.85.213.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Sz5xz-0005vY-Se for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 13:06:28 +0000 Received: by yenr9 with SMTP id r9so779414yen.36 for ; Wed, 08 Aug 2012 06:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=hlX49oHAkEeXVLtN1u6cCL4+svcoTGFAEZfbpxMgYOU=; b=dao8QjdI6Mk5aR4fBlyUKyJAE0Oyk8WYTKT2C9oDoXHyvdeyVtBJyiykmM3PAmOk0s 52lWfTLm8fcUidl+HIHEyES59QwqkksEn9/9YGuvdlpE6HPXT4bykMhiPLG6MYqCC2zB t/mYbxnO73IvdKwP3ULLq3tsgm1XVRfAuljQS/70j2aVKW8xDclGDaskwQFB/BtHbTfM OxxMsQUZF7VlK26xNGKnY+UOCr9LxXeg7oWZ9CuWuRZKy/v4xlBbc1dXSbK1C5pLJhJ4 9/vOYq6+ITQc1K/7QbYRatgEEjDCXy7E7vMxkHlrIqg4SwymdFFxC1cU5Cf9eQbwUMkf DVVQ== Received: by 10.100.244.7 with SMTP id r7mr5222922anh.23.1344431186682; Wed, 08 Aug 2012 06:06:26 -0700 (PDT) Received: from localhost.localdomain ([201.82.136.222]) by mx.google.com with ESMTPS id k22sm13515575ann.1.2012.08.08.06.06.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Aug 2012 06:06:25 -0700 (PDT) From: Fabio Estevam To: kernel@pengutronix.de Subject: [PATCH] ARM: plat-mxc: Remove unused imx_ioremap Date: Wed, 8 Aug 2012 10:06:16 -0300 Message-Id: <1344431176-10486-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Fabio Estevam , shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam imx_ioremap is no longer used on imx platforms, so remove it. As the EXPORT_SYMBOL_GPL is removed, it is also safe to remove the module.h header. Signed-off-by: Fabio Estevam --- arch/arm/plat-mxc/system.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/plat-mxc/system.c b/arch/arm/plat-mxc/system.c index 1996c3e..3da78cf 100644 --- a/arch/arm/plat-mxc/system.c +++ b/arch/arm/plat-mxc/system.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include @@ -29,9 +28,6 @@ #include #include -void __iomem *(*imx_ioremap)(unsigned long, size_t, unsigned int) = NULL; -EXPORT_SYMBOL_GPL(imx_ioremap); - static void __iomem *wdog_base; /*