[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>
This commit is contained in:
parent
3c0c6cb5eb
commit
c41f4af8fe
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue