[PATCH]warp.c

Sean MacLennan smaclennan at pikatech.com
Sat Jan 26 16:39:39 EST 2008


While merging, I found a small bug that I forgot to send. I add an 
offset to a value twice.

It is much easier to diff if it doesn't show the entire file as new.

Cheers,
   Sean MacLennan

Signed-off-by: Sean MacLennan <smaclennan at pikatech.com>
---
diff --git a/arch/powerpc/platforms/44x/warp.c b/arch/powerpc/platforms/44x/warp.c
index 8f01563..da5b7b7 100644
--- a/arch/powerpc/platforms/44x/warp.c
+++ b/arch/powerpc/platforms/44x/warp.c
@@ -137,7 +137,7 @@ static int __init pika_dtm_start(void)
 	}
 	of_node_put(np);
 
-	fpga = ioremap(res.start + 0x20, 4);
+	fpga = ioremap(res.start, 0x24);
 	if (fpga == NULL)
 		return -ENOENT;
 





More information about the Linuxppc-dev mailing list