From patchwork Fri May 22 15:29:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 6466041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 62662C0020 for ; Fri, 22 May 2015 15:42:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5A972200F3 for ; Fri, 22 May 2015 15:42:21 +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 9541F200E8 for ; Fri, 22 May 2015 15:42:20 +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 1Yvp2E-0003wt-Cn; Fri, 22 May 2015 15:38:54 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yvow6-0006lm-Kx for linux-arm-kernel@lists.infradead.org; Fri, 22 May 2015 15:32:35 +0000 Received: by padbw4 with SMTP id bw4so22464983pad.0 for ; Fri, 22 May 2015 08:32:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SaZ5Dy8oFiqOiyoBU97CU2TVXmAfrTQdn0V0s/NgA10=; b=Gb5hlqgy297SsMMjLZQfA/1eE0+r/dVvzjG4O9Usk1nSFAOyS20JD+WN1O2EA6A/pS KLwd1wdDPbi/y1ERK7V62AUvkagCplGU8a/6DyZwO+rgRzhvr7/0VJQXhyZ8EGW+TEli dI+v6EaO9T95OF7BBylk5yfPGZHuEB+C/g3n+BoTOltMQCCLJkbkQhUediMmPAUFkmFT VFQKWJy2wQr2I1qKYfTk1CaypspecJ6MiWxRWcgZQi/ySfGW+Uok1QZCp84V2iMhAvrQ YZHzjN7IBhvQpBfoyfsTOiXhbE25e4VPGJAUAlATqhXAUXc6LI71Q28/DwC4OvIaQRrV NIjA== X-Gm-Message-State: ALoCoQkudpAvq0zMOof763ehch6iHjmrQIm/aM/joiDtKxNKQSh7CHRiYGFMDFdZAUGeM53Ol29p X-Received: by 10.68.215.97 with SMTP id oh1mr16569854pbc.88.1432308735152; Fri, 22 May 2015 08:32:15 -0700 (PDT) Received: from localhost.localdomain ([107.6.117.178]) by mx.google.com with ESMTPSA id as1sm2474485pbc.39.2015.05.22.08.32.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 May 2015 08:32:14 -0700 (PDT) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 11/12] ARM: imx: remove platform headers from timer driver Date: Fri, 22 May 2015 23:29:58 +0800 Message-Id: <1432308599-28643-12-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432308599-28643-1-git-send-email-shawn.guo@linaro.org> References: <1432308599-28643-1-git-send-email-shawn.guo@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150522_083234_747052_140132DB X-CRM114-Status: UNSURE ( 7.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Shawn Guo , Daniel Lezcano , Arnd Bergmann , kernel@pengutronix.de, Shenwei Wang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 With the cleanup done before, the platform specific headers now can be removed. Signed-off-by: Shawn Guo --- arch/arm/mach-imx/time.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-imx/time.c b/arch/arm/mach-imx/time.c index 5fb8397d8fe2..ec144ce9f880 100644 --- a/arch/arm/mach-imx/time.c +++ b/arch/arm/mach-imx/time.c @@ -36,9 +36,6 @@ #include -#include "common.h" -#include "hardware.h" - /* * There are 4 versions of the timer hardware on Freescale MXC hardware. * - MX1/MXL @@ -80,9 +77,6 @@ #define V2_TIMER_RATE_OSC_DIV8 3000000 -#define timer_is_v1() (cpu_is_mx1() || cpu_is_mx21() || cpu_is_mx27()) -#define timer_is_v2() (!timer_is_v1()) - struct imx_timer { enum imx_gpt_type type; void __iomem *base;