projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8636368
)
ARM: dove: fix __io() definition to use bus based offset
author
Eric Miao
<eric.miao@canonical.com>
Tue, 14 Sep 2010 08:14:15 +0000
(16:14 +0800)
committer
Nicolas Pitre
<nico@fluxnic.net>
Mon, 20 Sep 2010 02:43:42 +0000
(22:43 -0400)
Signed-off-by: Eric Miao <eric.miao@canonical.com>
Acked-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
arch/arm/mach-dove/include/mach/io.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-dove/include/mach/io.h
b/arch/arm/mach-dove/include/mach/io.h
index
3b3e472
..
eb4936f
100644
(file)
--- 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