public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Kevin Hilman <khilman@mvista.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] ARM: OMAP: compile fix for CONFIG_PM_DEBUG=y
Date: Fri, 8 Jun 2007 03:26:37 -0700	[thread overview]
Message-ID: <20070608102636.GI28556@atomide.com> (raw)
In-Reply-To: <11810916331121-git-send-email-khilman@mvista.com>

* Kevin Hilman <khilman@mvista.com> [070605 18:04]:
> Various compile fixes needed after PRCM updates for PM_DEBUG
> 
> Signed-off-by: Kevin Hilman <khilman@mvista.com>
> ---
>  arch/arm/mach-omap2/pm.c |   15 ++++++++-------
>  1 files changed, 8 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
> index d6c81dd..a1655c2 100644
> --- a/arch/arm/mach-omap2/pm.c
> +++ b/arch/arm/mach-omap2/pm.c
> @@ -138,7 +138,7 @@ static void serial_console_sleep(int enable)
>  				serial_wakeup = 1;
>  			break;
>  		case 3:
> -			l = prm_read_mod_reg(CORE_MOD, PM_WKST2);
> +			l = prm_read_mod_reg(CORE_MOD, OMAP24XX_PM_WKST2);
>  			if (l & OMAP24XX_ST_UART3)
>  				serial_wakeup = 1;
>  			break;
> @@ -180,19 +180,19 @@ static void pm_init_serial_console(void)
>  	}
>  	switch (serial_console_uart) {
>  	case 1:
> -		l = prcm_read_mod_reg(CORE_MOD, PM_WKEN1);
> +		l = prm_read_mod_reg(CORE_MOD, PM_WKEN1);
>  		l |= OMAP24XX_ST_UART1;
>  		prm_write_mod_reg(l, CORE_MOD, PM_WKEN1);
>  		break;
>  	case 2:
> -		l = prcm_read_mod_reg(CORE_MOD, PM_WKEN1);
> +		l = prm_read_mod_reg(CORE_MOD, PM_WKEN1);
>  		l |= OMAP24XX_ST_UART2;
>  		prm_write_mod_reg(l, CORE_MOD, PM_WKEN1);
>  		break;
>  	case 3:
> -		l = prcm_read_mod_reg(CORE_MOD, PM_WKEN2);
> +		l = prm_read_mod_reg(CORE_MOD, OMAP24XX_PM_WKEN2);
>  		l |= OMAP24XX_ST_UART3;
> -		prm_write_mod_reg(l, CORE_MOD, PM_WKEN2);
> +		prm_write_mod_reg(l, CORE_MOD, OMAP24XX_PM_WKEN2);
>  		break;
>  	}
>  }
> @@ -265,7 +265,7 @@ static void omap2_pm_dump(int mode, int resume, unsigned int us)
>  #endif
>  	} else {
>  		DUMP_PRM_MOD_REG(CORE_MOD, PM_WKST1);
> -		DUMP_PRM_MOD_REG(CORE_MOD, PM_WKST2);
> +		DUMP_PRM_MOD_REG(CORE_MOD, OMAP24XX_PM_WKST2);
>  		DUMP_PRM_MOD_REG(WKUP_MOD, PM_WKST);
>  		DUMP_PRM_REG(OMAP24XX_PRCM_IRQSTATUS_MPU);
>  #if 1
> @@ -293,7 +293,8 @@ static void omap2_pm_dump(int mode, int resume, unsigned int us)
>  	if (!resume)
>  #if defined(CONFIG_NO_IDLE_HZ) || defined(CONFIG_NO_HZ)
>  		printk("--- Going to %s %s (next timer after %u ms)\n", s1, s2,
> -		       jiffies_to_msecs(next_timer_interrupt() - jiffies));
> +		       jiffies_to_msecs(get_next_timer_interrupt(jiffies) - 
> +					jiffies));
>  #else
>  		printk("--- Going to %s %s\n", s1, s2);
>  #endif

Pushing today.

Tony

      parent reply	other threads:[~2007-06-08 10:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06  1:00 [PATCH] ARM: OMAP: compile fix for CONFIG_PM_DEBUG=y Kevin Hilman
2007-06-06  1:00 ` [PATCH] ARM: OMAP: 2430 PM: emul_ck is only available on 242x Kevin Hilman
2007-06-08 10:26   ` Tony Lindgren
2007-06-06  1:00 ` [PATCH] ARM: OMAP: init section mismatch for omap2/timer-gp Kevin Hilman
2007-06-06  1:43   ` Nishanth Menon
2007-06-06  1:00 ` [PATCH] ARM: OMAP: 2430SDP: minor fixups for fb driver Kevin Hilman
2007-06-08 10:28   ` Tony Lindgren
2007-06-08 10:26 ` Tony Lindgren [this message]

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=20070608102636.GI28556@atomide.com \
    --to=tony@atomide.com \
    --cc=khilman@mvista.com \
    --cc=linux-omap-open-source@linux.omap.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