diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-05-28 07:07:20 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-09 12:17:32 -0400 |
commit | 59f998802bd5df56cd824f313cf5b0c3e356ec59 (patch) | |
tree | 36e265b356f363ffc44139b4168f78f7b4f22a36 /drivers/ata/sata_inic162x.c | |
parent | 1d2808fd3d2d5d2c0483796a0f443d1cb3f11367 (diff) |
[libata] drivers: remove 'void __iomem *' casts from pre-iomap days
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_inic162x.c')
-rw-r--r-- | drivers/ata/sata_inic162x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c index dc3bbce04676..8efc5316b32e 100644 --- a/drivers/ata/sata_inic162x.c +++ b/drivers/ata/sata_inic162x.c | |||
@@ -192,7 +192,7 @@ static void inic_reset_port(void __iomem *port_base) | |||
192 | 192 | ||
193 | static u32 inic_scr_read(struct ata_port *ap, unsigned sc_reg) | 193 | static u32 inic_scr_read(struct ata_port *ap, unsigned sc_reg) |
194 | { | 194 | { |
195 | void __iomem *scr_addr = (void __iomem *)ap->ioaddr.scr_addr; | 195 | void __iomem *scr_addr = ap->ioaddr.scr_addr; |
196 | void __iomem *addr; | 196 | void __iomem *addr; |
197 | u32 val; | 197 | u32 val; |
198 | 198 | ||
@@ -210,7 +210,7 @@ static u32 inic_scr_read(struct ata_port *ap, unsigned sc_reg) | |||
210 | 210 | ||
211 | static void inic_scr_write(struct ata_port *ap, unsigned sc_reg, u32 val) | 211 | static void inic_scr_write(struct ata_port *ap, unsigned sc_reg, u32 val) |
212 | { | 212 | { |
213 | void __iomem *scr_addr = (void __iomem *)ap->ioaddr.scr_addr; | 213 | void __iomem *scr_addr = ap->ioaddr.scr_addr; |
214 | void __iomem *addr; | 214 | void __iomem *addr; |
215 | 215 | ||
216 | if (unlikely(sc_reg >= ARRAY_SIZE(scr_map))) | 216 | if (unlikely(sc_reg >= ARRAY_SIZE(scr_map))) |