From: Suman Anna <s-anna@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] ARM: DRA7: hwmod: Fix the hwmod class for GPTimer4
Date: Tue, 24 Mar 2015 14:23:52 -0500 [thread overview]
Message-ID: <5511B9C8.8010703@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1503241805060.16497@utopia.booyaka.com>
On 03/24/2015 01:06 PM, Paul Walmsley wrote:
> On Mon, 16 Mar 2015, Suman Anna wrote:
>
>> GPTimer 4 is a regular timer and not a secure timer, so fix
>> the hwmod to use the correct hwmod class (even though there
>> are no differences in the class definition itself).
>>
>> Signed-off-by: Suman Anna <s-anna@ti.com>
>
> This one results in compiler warnings:
>
> arch/arm/mach-omap2/omap_hwmod_7xx_data.c:1776:32: warning:
> ‘dra7xx_timer_secure_hwmod_class’ defined but not used [-Wunused-variable]
> static struct omap_hwmod_class dra7xx_timer_secure_hwmod_class = {
>
> Have queued the following for v4.1.
Thanks Paul. I will add it back when I post the hwmod for Timer 12, I
had the Timer12 locally in my tree, so missed the warning.
regards
Suman
>
>
> - Paul
>
> From: Suman Anna <s-anna@ti.com>
> Date: Mon, 16 Mar 2015 15:54:54 -0500
> Subject: [PATCH] ARM: DRA7: hwmod: Fix the hwmod class for GPTimer4
>
> GPTimer 4 is a regular timer and not a secure timer, so fix
> the hwmod to use the correct hwmod class (even though there
> are no differences in the class definition itself).
>
> Signed-off-by: Suman Anna <s-anna@ti.com>
> [paul@pwsan.com: dropped dra7xx_timer_secure_hwmod_class and
> dra7xx_timer_secure_sysc to avoid compiler warnings]
> Signed-off-by: Paul Walmsley <paul@pwsan.com>
> ---
> arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 17 +----------------
> 1 file changed, 1 insertion(+), 16 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
> index d0f03e73add4..701234d8db1b 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
> @@ -1763,21 +1763,6 @@ static struct omap_hwmod_class dra7xx_timer_1ms_hwmod_class = {
> .sysc = &dra7xx_timer_1ms_sysc,
> };
>
> -static struct omap_hwmod_class_sysconfig dra7xx_timer_secure_sysc = {
> - .rev_offs = 0x0000,
> - .sysc_offs = 0x0010,
> - .sysc_flags = (SYSC_HAS_EMUFREE | SYSC_HAS_RESET_STATUS |
> - SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET),
> - .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
> - SIDLE_SMART_WKUP),
> - .sysc_fields = &omap_hwmod_sysc_type2,
> -};
> -
> -static struct omap_hwmod_class dra7xx_timer_secure_hwmod_class = {
> - .name = "timer",
> - .sysc = &dra7xx_timer_secure_sysc,
> -};
> -
> static struct omap_hwmod_class_sysconfig dra7xx_timer_sysc = {
> .rev_offs = 0x0000,
> .sysc_offs = 0x0010,
> @@ -1841,7 +1826,7 @@ static struct omap_hwmod dra7xx_timer3_hwmod = {
> /* timer4 */
> static struct omap_hwmod dra7xx_timer4_hwmod = {
> .name = "timer4",
> - .class = &dra7xx_timer_secure_hwmod_class,
> + .class = &dra7xx_timer_hwmod_class,
> .clkdm_name = "l4per_clkdm",
> .main_clk = "timer4_gfclk_mux",
> .prcm = {
>
--
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
next prev parent reply other threads:[~2015-03-24 19:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-16 20:54 [PATCH 0/2] Couple of DRA7 hwmod patches on Timers Suman Anna
2015-03-16 20:54 ` [PATCH 1/2] ARM: DRA7: hwmod: Add data for GPTimers 13 through 16 Suman Anna
2015-03-24 18:05 ` Paul Walmsley
2015-03-16 20:54 ` [PATCH 2/2] ARM: DRA7: hwmod: Fix the hwmod class for GPTimer4 Suman Anna
2015-03-24 18:06 ` Paul Walmsley
2015-03-24 19:23 ` Suman Anna [this message]
2015-03-21 19:42 ` [PATCH 0/2] Couple of DRA7 hwmod patches on Timers Paul Walmsley
2015-03-23 16:30 ` Suman Anna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5511B9C8.8010703@ti.com \
--to=s-anna@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).