[POWERPC] 4xx: Fix offset value on Warp board

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, February 7, 2008 - 11:03 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c41f4a...
Commit:     c41f4af8fef6ef5bec7c9d2335ba19636058d2a7
Parent:     3c0c6cb5eb2931712d5d750bf27d27d37a44d75e
Author:     Sean MacLennan <smaclennan@pikatech.com>
AuthorDate: Sat Jan 26 16:39:39 2008 +1100
Committer:  Josh Boyer <jwboyer@linux.vnet.ibm.com>
CommitDate: Wed Feb 6 21:02:54 2008 -0600

    [POWERPC] 4xx: Fix offset value on Warp board
    
    While merging, I found a small bug that I forgot to send. I add an
    offset to a value twice.
    
    Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
    Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
---
 arch/powerpc/platforms/44x/warp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[POWERPC] 4xx: Fix offset value on Warp board, Linux Kernel Mailing ..., (Thu Feb 7, 11:03 am)