ARM: PCI: versatile: Fix SMAP register offsets
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Aug 2013 16:47:50 +0000 (17:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:18:03 +0000 (17:18 -0700)
commitd9a004a0a3bb56b62f36a460ec61c76112dd8442
tree7bd72dd15efb0a42a658d57806d144397b6c71be
parentd6e770beb3489067fc68e0d468c99f0e44a42052
ARM: PCI: versatile: Fix SMAP register offsets

commit 99f2b130370b904ca5300079243fdbcafa2c708b upstream.

The SMAP register offsets in the versatile PCI controller code were
all off by four.  (This didn't have any observable bad effects
because on this board PHYS_OFFSET is zero, and (a) writing zero to
the flags register at offset 0x10 has no effect and (b) the reset
value of the SMAP register is zero anyway, so failing to write SMAP2
didn't matter.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-versatile/pci.c