Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4a90588 authored by Eric Miao's avatar Eric Miao Committed by Nicolas Pitre
Browse files

ARM: dove: fix __io() definition to use bus based offset

parent 86363682
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@

#define IO_SPACE_LIMIT		0xffffffff

#define __io(a)  ((void __iomem *)(((a) - DOVE_PCIE0_IO_PHYS_BASE) +\
#define __io(a)  	((void __iomem *)(((a) - DOVE_PCIE0_IO_BUS_BASE) + \
						 DOVE_PCIE0_IO_VIRT_BASE))
#define __mem_pci(a)	(a)