zorro: ZTWO_VADDR() should return "void __iomem *"
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 9 Jan 2011 10:03:43 +0000 (11:03 +0100)
committerGeert 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