Skip to content

Commit

Permalink
ARM: dove: fix __io() definition to use bus based offset
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Miao <eric.miao@canonical.com>
Acked-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
  • Loading branch information
Eric Miao authored and Nicolas Pitre committed Sep 20, 2010
1 parent 8636368 commit c4a9058
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/mach-dove/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c4a9058

Please sign in to comment.