MIPS: ath79: fix regression in PCI window initialization
authorFelix Fietkau <nbd@nbd.name>
Mon, 16 May 2016 17:51:55 +0000 (19:51 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 17 May 2016 09:13:28 +0000 (11:13 +0200)
commit9184dc8ffa56844352b3b9860e562ec4ee41176f
tree620765507315d745c59a7d90b4cd57b871d185d1
parent6241bf6a59a41c7ca742c043416b6d57109c6b5d
MIPS: ath79: fix regression in PCI window initialization

ath79_ddr_pci_win_base has the type void __iomem *, so register offsets
need to be a multiple of 4.

Cc: Alban Bedel <albeu@free.fr>
Fixes: 24b0e3e84fbf ("MIPS: ath79: Improve the DDR controller interface")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Cc: sergei.shtylyov@cogentembedded.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13258/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/common.c