Received: by 10.223.185.116 with SMTP id b49csp241129wrg; Tue, 13 Feb 2018 20:52:14 -0800 (PST) X-Google-Smtp-Source: AH8x225GcR8ACKgaGGu1gLrun/te4G1kc9NEnyl0nDXB5+h2hOLU7l+Hn06NmZtMC6KLsCZVSvYh X-Received: by 2002:a17:902:aa0c:: with SMTP id be12-v6mr3325867plb.84.1518583934588; Tue, 13 Feb 2018 20:52:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518583934; cv=none; d=google.com; s=arc-20160816; b=QCFrKdkLVyiantbw2l6PnZZgCIkKlJsP7IZlJNl82qPUq3PP5W87vW5/Yiqm9lMsta fIrNsYyZf/EFMdaW4jxxCAlyJAbDUUhqlmmLvehUnWFZOs9RRx4gg4dWz+P9LyRqMGVd DFxG80+zgm70HOW1tv1zmEy1Tst9+QFyGGSGmuWYWxPi9MTn2rJnCDjejfIB9MFCq+iU mRnG7nEVrzLtI1Zsn0DJyc9hDj8mvjSk5dS5p+/vVYifaUcD4IZUbIJDAeLKCQXO0/yj eL0v5+4kUPtQ5P/NoZjohQAQQP6f8TAJIqGi7588y5/7cdtTXYndQM5lOZlJoljsUQvH iUNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=HTfN+e0X4oBJHQ8lnJIAQd3zJ890tW3+A16+xQok4LQ=; b=U3PgYeJ4+AIiQ88FSmUpgCTE4Qo9n1Uj1FFIlYQnzI6o17UrkmKkWJOkfg7PjageT1 Tp57gCK7nXlF6r5H0CTIAr6I+akBT1b1lGtORMkpI/0wpdEsGerM2o4ASfuW1Sym5cGm dkZAJXPTxWEKgElzTq47dSMkiMNFScRLkZXWleeesfLCIWTzibnMM6/fDgfup//6q/wN O3/8trD7AGesIuaN4J1pubg9RhJonUEvxFkqJTuDdylyQUMr8+Ut/cnrnWZhv/qFhQPd 27ia4g+zIWoLSxUTKOG1iCQKQlXp8Ar2IBTIwFrDWeP1GqLH0e/oVx4nOCRiIoaIV1FY SlqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BvuSfKFS; 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 e6si5581101pgr.586.2018.02.13.20.51.58; Tue, 13 Feb 2018 20:52:14 -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=BvuSfKFS; 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 S966867AbeBNEvT (ORCPT + 99 others); Tue, 13 Feb 2018 23:51:19 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:42726 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966813AbeBNEvR (ORCPT ); Tue, 13 Feb 2018 23:51:17 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1E4oelJ012877; Tue, 13 Feb 2018 22:50:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1518583840; bh=Wo3MUuOZokNr1hMl0jsyoKVywc2DVVXi7G2jzAYzdiM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=BvuSfKFSf84CnbNMoiFtBcHXekpxj56Jxsob+kPYlBaUJ6VBKig3lFdHakagyHzBf veq34AN1mxzXNYRjQbk+oVuXEB22kPd4+tR39cxy3Wev0Y+LCJnBZVfglSV+3XGkJh g52cky857wCVamyCbkrF59jF2uG7FCmEaGP7OSSM= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1E4odYc019050; Tue, 13 Feb 2018 22:50:39 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) 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; Tue, 13 Feb 2018 22:50:39 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 13 Feb 2018 22:50:39 -0600 Received: from [172.24.191.45] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1E4oY8Z005068; Tue, 13 Feb 2018 22:50:34 -0600 Subject: Re: [PATCH v7 3/9] arm: omap: Move dmtimer.h out of plat-omap To: Suman Anna , "daniel.lezcano@linaro.org" , "thierry.reding@gmail.com" , "tony@atomide.com" , "aaro.koskinen@iki.fi" CC: "Claudiu.Beznea@microchip.com" , "narmstrong@baylibre.com" , "linux-pwm@vger.kernel.org" , "ladis@linux-mips.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "sebastian.reichel@collabora.co.uk" , "linux-omap@vger.kernel.org" , "robh+dt@kernel.org" , "Kristo, Tero" , "Strashko, Grygorii" References: <1515478987-5786-1-git-send-email-j-keerthy@ti.com> <1515478987-5786-4-git-send-email-j-keerthy@ti.com> <1c9f5c72-f589-d7c7-399f-ef55ecb828a0@ti.com> From: Keerthy Message-ID: <37f28584-20c2-51c1-e476-75ef81f03af6@ti.com> Date: Wed, 14 Feb 2018 10:20:33 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1c9f5c72-f589-d7c7-399f-ef55ecb828a0@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit 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 On Tuesday 13 February 2018 07:36 AM, Suman Anna wrote: > Hi Keerthy, > > On 01/09/2018 12:23 AM, J, KEERTHY wrote: >> The header file is currently under plat-omap directory >> under arch/omap. Move this out to an accessible place. >> >> No Code changes done to the header file. >> >> Signed-off-by: Keerthy >> Reviewed-by: Sebastian Reichel >> Tested-by: Ladislav Michl >> --- >> arch/arm/mach-omap1/pm.c | 2 +- >> arch/arm/mach-omap1/timer.c | 2 +- >> arch/arm/mach-omap2/omap_hwmod_2420_data.c | 2 +- >> arch/arm/mach-omap2/omap_hwmod_2430_data.c | 2 +- >> arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 2 +- >> arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 2 +- >> arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 2 +- >> arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 +- >> arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 2 +- >> arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 2 +- >> arch/arm/mach-omap2/pdata-quirks.c | 2 +- >> arch/arm/mach-omap2/timer.c | 2 +- >> arch/arm/plat-omap/dmtimer.c | 2 +- >> {arch/arm/plat-omap/include/plat => include/clocksource}/dmtimer.h | 0 >> 14 files changed, 13 insertions(+), 13 deletions(-) >> rename {arch/arm/plat-omap/include/plat => include/clocksource}/dmtimer.h (100%) >> >> diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c >> index f1135bf..a07d47cf 100644 >> --- a/arch/arm/mach-omap1/pm.c >> +++ b/arch/arm/mach-omap1/pm.c >> @@ -55,7 +55,7 @@ >> #include >> #include >> #include >> -#include >> +#include >> >> #include >> >> diff --git a/arch/arm/mach-omap1/timer.c b/arch/arm/mach-omap1/timer.c >> index 8fb1ec6..7c057ab 100644 >> --- a/arch/arm/mach-omap1/timer.c >> +++ b/arch/arm/mach-omap1/timer.c >> @@ -27,7 +27,7 @@ >> #include >> #include >> >> -#include >> +#include >> >> #include "soc.h" >> >> diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c >> b/arch/arm/mach-omap2/omap_hwmod_2420_data.c >> index 0afb014..0a8b95f 100644 >> --- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c >> +++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c >> @@ -16,7 +16,7 @@ >> #include >> #include >> #include >> -#include >> +#include >> >> #include "omap_hwmod.h" >> #include "l3_2xxx.h" >> diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c >> b/arch/arm/mach-omap2/omap_hwmod_2430_data.c >> index 013b26b..16e3d8c 100644 >> --- a/arch/arm/mach-omap2/omap_hwmod_2430_data.c >> +++ b/arch/arm/mach-omap2/omap_hwmod_2430_data.c >> @@ -18,7 +18,7 @@ >> #include >> #include >> #include >> -#include >> +#include > > These headers are actually not needed in the first-place since we no > longer create any non-DT timer devices. I have submitted a series to > cleanup the presence of this header file, as part of a larger hwmod data > cleanup series. I will rebase my series on top of your clean up series. Thanks for clean ups. > >> >> #include "omap_hwmod.h" >> #include "l3_2xxx.h" >> diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c >> b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c >> index 4b094cb..8a65f70 100644 >> --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c >> +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c >> @@ -11,7 +11,7 @@ >> >> #include >> #include >> -#include >> +#include >> #include >> >> #include "omap_hwmod.h" >> diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c >> b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c >> index 1a2f224..b030137 100644 >> --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c >> +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c >> @@ -25,7 +25,7 @@ >> #include "l4_3xxx.h" >> #include >> #include >> -#include >> +#include >> >> #include "soc.h" >> #include "omap_hwmod.h" >> diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c >> b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c >> index a1901c2..51c7d62 100644 >> --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c >> +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c >> @@ -30,7 +30,7 @@ >> >> #include >> #include >> -#include >> +#include >> >> #include "omap_hwmod.h" >> #include "omap_hwmod_common_data.h" >> diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c >> b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c >> index 988e7ea..530334e 100644 >> --- a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c >> +++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c >> @@ -26,7 +26,7 @@ >> #include >> #include >> #include >> -#include >> +#include >> >> #include "omap_hwmod.h" >> #include "omap_hwmod_common_data.h" >> diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c >> b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c >> index 4c2a05b..2452649 100644 >> --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c >> +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c >> @@ -26,7 +26,7 @@ >> #include >> #include >> #include >> -#include >> +#include >> >> #include "omap_hwmod.h" >> #include "omap_hwmod_common_data.h" >> diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c >> b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c >> index 84f1182..94f3bb1 100644 >> --- a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c >> +++ b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c >> @@ -18,7 +18,7 @@ >> #include >> #include >> #include >> -#include >> +#include >> >> #include "omap_hwmod_common_data.h" >> #include "cm81xx.h" >> diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c >> index 6b433fc..ad9df86 100644 >> --- a/arch/arm/mach-omap2/pdata-quirks.c >> +++ b/arch/arm/mach-omap2/pdata-quirks.c >> @@ -27,7 +27,7 @@ >> #include >> #include >> #include >> -#include >> +#include >> >> #include "common.h" >> #include "common-board-devices.h" >> diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c >> index ece09c9..31c1b01 100644 >> --- a/arch/arm/mach-omap2/timer.c >> +++ b/arch/arm/mach-omap2/timer.c >> @@ -26,6 +26,7 @@ >> * License. See the file "COPYING" in the main directory of this archive >> * for more details. >> */ >> +#include >> #include >> #include >> #include >> @@ -49,7 +50,6 @@ >> #include "omap_hwmod.h" >> #include "omap_device.h" >> #include >> -#include >> #include "omap-pm.h" >> >> #include "soc.h" >> diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c >> index 72565fc..afe1dc9 100644 >> --- a/arch/arm/plat-omap/dmtimer.c >> +++ b/arch/arm/plat-omap/dmtimer.c >> @@ -47,7 +47,7 @@ >> #include >> #include >> >> -#include >> +#include >> >> static u32 omap_reserved_systimers; >> static LIST_HEAD(omap_timer_list); >> diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h >> b/include/clocksource/dmtimer.h >> similarity index 100% >> rename from arch/arm/plat-omap/include/plat/dmtimer.h >> rename to include/clocksource/dmtimer.h > > Can you fix up the file name and the header guard to appropriate names > as per the include/clocksource folder convention. > > arch/arm/plat-omap/include/plat/dmtimer.h => include/clocksource/dmtimer.h > and > __ASM_ARCH_DMTIMER_H => __CLOCKSOURCE_DMTIMER_H Sure. > > I still see this file as OMAP-specific, so should this be renamed to > dmtimer-omap.h instead of a generic dmtimer.h name? I will go with ti-dmtimer.c. > > regards > Suman > >> -- >> 1.9.1 >> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-omap" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> >