summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-dove
diff options
context:
space:
mode:
authorEric Miao <eric.miao@canonical.com>2010-09-14 16:14:15 +0800
committerNicolas Pitre <nico@fluxnic.net>2010-09-19 22:43:42 -0400
commitc4a90588fa07ea47df7a67fd6cb03d6bc0f99634 (patch)
tree74e86967ed623e7ed987e37bbf90dccbfebd11a9 /arch/arm/mach-dove
parent863636828f1fcd9fdc15e24d620aa53cf18b432f (diff)
downloadlinux-c4a90588fa07ea47df7a67fd6cb03d6bc0f99634.tar.gz
linux-c4a90588fa07ea47df7a67fd6cb03d6bc0f99634.tar.bz2
linux-c4a90588fa07ea47df7a67fd6cb03d6bc0f99634.zip
ARM: dove: fix __io() definition to use bus based offset
Signed-off-by: Eric Miao <eric.miao@canonical.com> Acked-by: Saeed Bishara <saeed@marvell.com> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mach-dove')
-rw-r--r--arch/arm/mach-dove/include/mach/io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-dove/include/mach/io.h b/arch/arm/mach-dove/include/mach/io.h
index 3b3e4721ce2e..eb4936ff90ad 100644
--- a/arch/arm/mach-dove/include/mach/io.h
+++ b/arch/arm/mach-dove/include/mach/io.h
@@ -13,8 +13,8 @@
#define IO_SPACE_LIMIT 0xffffffff
-#define __io(a) ((void __iomem *)(((a) - DOVE_PCIE0_IO_PHYS_BASE) +\
- DOVE_PCIE0_IO_VIRT_BASE))
-#define __mem_pci(a) (a)
+#define __io(a) ((void __iomem *)(((a) - DOVE_PCIE0_IO_BUS_BASE) + \
+ DOVE_PCIE0_IO_VIRT_BASE))
+#define __mem_pci(a) (a)
#endif