Received: by 10.223.185.116 with SMTP id b49csp1633546wrg; Wed, 14 Feb 2018 22:05:17 -0800 (PST) X-Google-Smtp-Source: AH8x225+HOv/q9+4FRQzBIOdQRiUXmCKuSjtgIlBF32BzFOX3PElLbTeHgzQo6kbN1WZx65kBCnO X-Received: by 10.101.82.203 with SMTP id z11mr1333230pgp.164.1518674717041; Wed, 14 Feb 2018 22:05:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518674717; cv=none; d=google.com; s=arc-20160816; b=I9+ytDHxNsir9zrXfcfQHtC4UuoMCtPYsHFwAFJGA7OhXR9elDg0HlS/bBUhy7k1b/ zq3FL3Wo/vSNFajdlKuRX1xBXbWFiStbN1jngM7FDspnwZdplQxqUxVSWtaqbl1JN2N7 7eDyGnVbv++bxMR/FQ+EKA5T0OVCkZypgfnl0wk1RxDfoozUQ6txye8Uj9p7+d+oeXt9 2SVTe9zG0luFPDri41nfFf1VlEx599ir2KonyDGDxg7q2tsmaIFseLjDTvCi3/ARHjOM +JqmmlFZ4zIjm88jonopw9+7ZjxNNKrLpwHVOha1IY6tH7d7RLqSyGm56VVXm7vX8KaG MUzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=u1kytHdtzwlYZZj2AypdKWTgGIi0ncqfcTqgljMx60o=; b=EXWh6xUD7X6ARSgcvr0x5n4B3RrM3ShIDlMstMbUDZtka8jw9fTaNQvFGb4I5RZvT1 Q3EKDDr3Qy3YiOqgVLEdWa1SQNapOYysKYLWxEb701ytQ9fqFspJ3vM1bNXUMstt6e4G ABwMGciuhtHaHPP8GbMi1z6xbnB6SN/TzzVkV3MlP/SeUSbbQ1aFnhUsSQI4wPgWp0rM N5jnIf51ef/Knie7ZPEcGOwbHRRq7yOdeA8S5DRDUp1L1tCLNXLd/iyixni7Mtl+Dcii MAjZSg5wVxlUKy+ubJG10pf8WrSkZycieG1UHIt8XKy2qSRzVVNOJtMiFTE2ykzf9Yin HLFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lhL7Mo5V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2-v6si705282plk.478.2018.02.14.22.05.02; Wed, 14 Feb 2018 22:05:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lhL7Mo5V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754846AbeBOGEG (ORCPT + 99 others); Thu, 15 Feb 2018 01:04:06 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:60581 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751776AbeBOGED (ORCPT ); Thu, 15 Feb 2018 01:04:03 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1F63MOF017515; Thu, 15 Feb 2018 00:03:22 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1518674602; bh=GDoii0kDIql7Lc71gnFcjBHhtmeA4SPYVB2+SBxst4k=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lhL7Mo5VZZOcm1nHMjNpkVe4P27sHbldt0ugZBwqhGv6nJ1QVNqmVOyw+y2DiJydX Sl1iSdA0f6XXlWXE3oGQB5gfZLhWh9DbdhJ9GMCyxXXC/yv0Cr7VkKBDBiuVPuHtVP 6c2ULD059KRj0yKHKRq7mAJ+qY09QJGAbIXHa5R0= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1F63MJ9009166; Thu, 15 Feb 2018 00:03:22 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 15 Feb 2018 00:03:21 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Thu, 15 Feb 2018 00:03:21 -0600 Received: from ula0393675.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1F62uf4020364; Thu, 15 Feb 2018 00:03:16 -0600 From: Keerthy To: , , , CC: , , , , , , , , , , , , Subject: [PATCH v11 04/10] clocksource: timer-ti-dm: Replace architecture Date: Thu, 15 Feb 2018 11:31:45 +0530 Message-ID: <1518674511-26421-5-git-send-email-j-keerthy@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1518674511-26421-1-git-send-email-j-keerthy@ti.com> References: <1518674511-26421-1-git-send-email-j-keerthy@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace architecture specific guard with clocksource guard. Signed-off-by: Keerthy Replace architecture specific defines with clocksource --- include/clocksource/timer-ti-dm.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/clocksource/timer-ti-dm.h b/include/clocksource/timer-ti-dm.h index 831174f..4f31095 100644 --- a/include/clocksource/timer-ti-dm.h +++ b/include/clocksource/timer-ti-dm.h @@ -1,6 +1,4 @@ /* - * arch/arm/plat-omap/include/plat/dmtimer.h - * * OMAP Dual-Mode Timers * * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ @@ -36,8 +34,8 @@ #include #include -#ifndef __ASM_ARCH_DMTIMER_H -#define __ASM_ARCH_DMTIMER_H +#ifndef __CLOCKSOURCE_DMTIMER_H +#define __CLOCKSOURCE_DMTIMER_H /* clock sources */ #define OMAP_TIMER_SRC_SYS_CLK 0x00 @@ -426,4 +424,4 @@ static inline void __omap_dm_timer_write_status(struct omap_dm_timer *timer, writel_relaxed(value, timer->irq_stat); } #endif /* CONFIG_ARCH_OMAP1 || CONFIG_ARCH_OMAP2PLUS */ -#endif /* __ASM_ARCH_DMTIMER_H */ +#endif /* __CLOCKSOURCE_DMTIMER_H */ -- 1.9.1