Thread (1 message) 1 message, 1 author, 2011-11-21

[PATCH] ARM: sa1100: refactor sa1100 serial driver

From: Jamie Iles <hidden>
Date: 2011-11-21 14:43:33
Also in: linux-devicetree

On Mon, Nov 21, 2011 at 03:37:41PM +0100, Jochen Friedrich wrote:
Hi Joe,
quoted
trivia:
quoted
diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c
[]
quoted
@@ -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.
It may even be worth looking at the DEFINE_RES_MEM() type macros in 
include/linux/ioport.h, but I'm not sure that's essential!

Jamie
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help