aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSean MacLennan <smaclennan@pikatech.com>2008-01-26 16:39:39 +1100
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-02-06 21:02:54 -0600
commitc41f4af8fef6ef5bec7c9d2335ba19636058d2a7 (patch)
treef9b1aa8bbce826eb691f61e78253681e392a6b42 /arch
parent3c0c6cb5eb2931712d5d750bf27d27d37a44d75e (diff)
[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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/44x/warp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/44x/warp.c b/arch/powerpc/platforms/44x/warp.c
index 8f01563dbd2..da5b7b7599d 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;