git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83b7bce
)
zorro: ZTWO_VADDR() should return "void __iomem *"
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Sun, 9 Jan 2011 10:03:43 +0000
(11:03 +0100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Tue, 26 Nov 2013 10:09:07 +0000
(11:09 +0100)
ZTWO_VADDR() converts from physical to virtual I/O addresses, so it should
return "void __iomem *" instead of "unsigned long".
This allows to drop several casts, but requires adding a few casts to
accomodate legacy driver frameworks that store "unsigned long" I/O
addresses.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
No differences found