]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] 4xx: Fix offset value on Warp board
authorSean MacLennan <smaclennan@pikatech.com>
Sat, 26 Jan 2008 05:39:39 +0000 (16:39 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 7 Feb 2008 03:02:54 +0000 (21:02 -0600)
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

index 8f01563dbd2aa3d8aacb16a7629a961f6103ae97..da5b7b7599dbc3d0a19b649630d8e2d6fcc739ae 100644 (file)
@@ -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;