[PATCH] ARM: sa1100: refactor sa1100 serial driver

Jochen Friedrich jochen at scram.de
Mon Nov 21 09:37:41 EST 2011


Hi Joe,

> trivia:
>
>> diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c
> []
>> @@ -166,7 +166,7 @@ static struct platform_device sa11x0udc_device = {
>>   static struct resource sa11x0uart1_resources[] = {
>>   	[0] = {
>>   		.start	= __PREG(Ser1UTCR0),
>> -		.end	= __PREG(Ser1UTCR0) + 0xffff,
>> +		.end	= __PREG(Ser1UTCR0) + 0x24,
>
> #define for 0x24? or is it really 0x23?
> (start + size - 1)

Thanks, I'll fix this.

Jochen.



More information about the linux-arm-kernel mailing list