Message ID | 1431677507-27420-9-git-send-email-shawnguo@kernel.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDPILVOKSELBB3GW22VAKGQEB52RZLI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C4F0F21411 for <linaro@patches.linaro.org>; Fri, 15 May 2015 08:16:44 +0000 (UTC) Received: by wixv7 with SMTP id v7sf31652619wix.0 for <linaro@patches.linaro.org>; Fri, 15 May 2015 01:16:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=KIKldMgPbIcMhdQvCldtmGvcDEBqRgB5k7QdVBcotpE=; b=XzsRR5oQzR/sOov4MR8IbspEg5rZwGwZnyIx0dtNAUktvCKdniG3Rkun6Dtad2saz4 ljZA2krfNB+ARZyIPSAc63Yv+Uf+KsGm0FuiI+5lMIN/whdmPysuhOrDTymAwpa5D4QX ZKNshfoJPpoiiIAa3yXEVat5o2UAa8X59xg8tVWVUlJr3amdTLNQmd4nbKUMP18yCOQ0 aGS5PoPHAA0HKxnbA/KlmnQnfUPqA1wAb/Fvvu93UCs1buBffQA0BKQJVRfu+ZVP1bA/ IraUWTpieQv5x6BiN8m1TJhrSoDh7pkDG9sGXOm3LIdaLRBVMFLVN2uIH3suYdDHu/lp o6bQ== X-Gm-Message-State: ALoCoQkRRlSqTvA1w4+RcfiluPuWiuTOfr6xwPG/E8ibuUZLdXooq8YemHPyJ3uF1pP01Nxjycz3 X-Received: by 10.112.13.200 with SMTP id j8mr6192754lbc.14.1431677804117; Fri, 15 May 2015 01:16:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.179.12 with SMTP id dc12ls150323lac.17.gmail; Fri, 15 May 2015 01:16:44 -0700 (PDT) X-Received: by 10.152.29.6 with SMTP id f6mr6078367lah.85.1431677804007; Fri, 15 May 2015 01:16:44 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id pf2si600935lbc.2.2015.05.15.01.16.43 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 01:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by lagv1 with SMTP id v1so107937096lag.3 for <patchwork-forward@linaro.org>; Fri, 15 May 2015 01:16:43 -0700 (PDT) X-Received: by 10.152.27.1 with SMTP id p1mr6138599lag.112.1431677803588; Fri, 15 May 2015 01:16:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1831190lbb; Fri, 15 May 2015 01:16:42 -0700 (PDT) X-Received: by 10.70.128.130 with SMTP id no2mr16054735pdb.95.1431677801789; Fri, 15 May 2015 01:16:41 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id k4si1479047pdb.126.2015.05.15.01.16.40 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 01:16:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; 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 1YtAlT-0006v8-6a; Fri, 15 May 2015 08:14:39 +0000 Received: from mail.kernel.org ([198.145.29.136]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YtAkO-0006LU-G2 for linux-arm-kernel@lists.infradead.org; Fri, 15 May 2015 08:13:33 +0000 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7FB3920480; Fri, 15 May 2015 08:13:16 +0000 (UTC) Received: from localhost.localdomain (unknown [104.207.83.1]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 799F02047B; Fri, 15 May 2015 08:13:14 +0000 (UTC) From: shawnguo@kernel.org To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 8/9] ARM: imx: remove platform headers from timer driver Date: Fri, 15 May 2015 16:11:46 +0800 Message-Id: <1431677507-27420-9-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431677507-27420-1-git-send-email-shawnguo@kernel.org> References: <1431677507-27420-1-git-send-email-shawnguo@kernel.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150515_011332_582114_7FBF4BC5 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Cc: Shawn Guo <shawn.guo@linaro.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, kernel@pengutronix.de, Shenwei Wang <shenwei.wang@freescale.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/arch/arm/mach-imx/time.c b/arch/arm/mach-imx/time.c index 174c553a3bb7..ecf043f6c6fd 100644 --- a/arch/arm/mach-imx/time.c +++ b/arch/arm/mach-imx/time.c @@ -35,9 +35,6 @@ #include <asm/mach/time.h> -#include "common.h" -#include "hardware.h" - /* * There are 4 versions of the timer hardware on Freescale MXC hardware. * - MX1/MXL @@ -79,9 +76,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()) - static struct clock_event_device clockevent_mxc; static enum clock_event_mode clockevent_mode = CLOCK_EVT_MODE_UNUSED;