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: 475693 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1AC39140E33 for ; Sat, 23 May 2015 01:42:37 +1000 (AEST) 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 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.49 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 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;