Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: mika.westerberg@iki.fi (Mika Westerberg)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ep93xx: use DEFINE_RES_* helpers
Date: Thu, 4 Aug 2011 21:22:48 +0300	[thread overview]
Message-ID: <20110804182248.GB2445@mwesterb-mobl.ger.corp.intel.com> (raw)
In-Reply-To: <201108021629.05478.hartleys@visionengravers.com>

On Tue, Aug 02, 2011 at 04:29:05PM -0700, H Hartley Sweeten wrote:

> @@ -590,11 +543,7 @@ static struct platform_device ep93xx_pwm0_device = {
>  };
>  
>  static struct resource ep93xx_pwm1_resource[] = {
> -	{
> -		.start	= EP93XX_PWM_PHYS_BASE + 0x20,
> -		.end	= EP93XX_PWM_PHYS_BASE + 0x30 - 1,
> -		.flags	= IORESOURCE_MEM,
> -	},
> +	DEFINE_RES_MEM(EP93XX_PWM_PHYS_BASE + 0x10, 0x10),

Should this be

	DEFINE_RES_MEM(EP93XX_PWM_PHYS_BASE + 0x20, 0x10),


Otherwise

Reviewed-by: Mika Westerberg <mika.westerberg@iki.fi>

  reply	other threads:[~2011-08-04 18:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02 23:29 [PATCH] ep93xx: use DEFINE_RES_* helpers H Hartley Sweeten
2011-08-04 18:22 ` Mika Westerberg [this message]
2011-08-04 18:30   ` H Hartley Sweeten

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=20110804182248.GB2445@mwesterb-mobl.ger.corp.intel.com \
    --to=mika.westerberg@iki.fi \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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