[PATCH] ep93xx: use DEFINE_RES_* helpers
H Hartley Sweeten
hartleys at visionengravers.com
Thu Aug 4 14:30:21 EDT 2011
On Thursday, August 04, 2011 11:23 AM, Mika Westerberg wrote:
> 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),
Doh! Will fix.
> Otherwise
>
> Reviewed-by: Mika Westerberg <mika.westerberg at iki.fi>
Thanks,
Hartley
More information about the linux-arm-kernel
mailing list