ARM: PCI: versatile: Fix SMAP register offsets
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Aug 2013 16:47:50 +0000 (17:47 +0100)
committerKevin Hilman <khilman@linaro.org>
Wed, 4 Sep 2013 21:53:33 +0000 (14:53 -0700)
commit99f2b130370b904ca5300079243fdbcafa2c708b
tree8e21c54339044bd949dbaa2a669caabfb813c352
parent829f9fedee30cde2ec15e88d57ec11074db791e2
ARM: PCI: versatile: Fix SMAP register offsets

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>
Cc: stable@vger.kernel.org
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
arch/arm/mach-versatile/pci.c