提交 c41f4af8 编写于 作者: S Sean MacLennan 提交者: Josh Boyer

[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: NSean MacLennan <smaclennan@pikatech.com>
Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
上级 3c0c6cb5
...@@ -137,7 +137,7 @@ static int __init pika_dtm_start(void) ...@@ -137,7 +137,7 @@ static int __init pika_dtm_start(void)
} }
of_node_put(np); of_node_put(np);
fpga = ioremap(res.start + 0x20, 4); fpga = ioremap(res.start, 0x24);
if (fpga == NULL) if (fpga == NULL)
return -ENOENT; return -ENOENT;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册