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)
commit6112ea0862facaeaeab504ee01c0d04bcd22daaf
tree22c2cb929cea94dd7decd0c1756e77684acdc95c
parent83b7bce3d390f15047e05a186bb4051536ee9dbc
zorro: ZTWO_VADDR() should return "void __iomem *"

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>
17 files changed:
arch/m68k/amiga/chipram.c
arch/m68k/amiga/config.c
arch/m68k/include/asm/amigahw.h
drivers/block/z2ram.c
drivers/ide/buddha.c
drivers/net/ethernet/8390/hydra.c
drivers/net/ethernet/8390/zorro8390.c
drivers/net/ethernet/amd/a2065.c
drivers/net/ethernet/amd/ariadne.c
drivers/parport/parport_mfc3.c
drivers/scsi/a2091.c
drivers/scsi/a3000.c
drivers/scsi/a4000t.c
drivers/scsi/gvp11.c
drivers/scsi/zorro7xx.c
drivers/video/amifb.c
drivers/video/cirrusfb.c