aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_promise.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-05-28 07:07:20 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-09 12:17:32 -0400
commit59f998802bd5df56cd824f313cf5b0c3e356ec59 (patch)
tree36e265b356f363ffc44139b4168f78f7b4f22a36 /drivers/ata/sata_promise.c
parent1d2808fd3d2d5d2c0483796a0f443d1cb3f11367 (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_promise.c')
-rw-r--r--drivers/ata/sata_promise.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c
index 6dc0b011a6b7..7fcc4fe4d79b 100644
--- a/drivers/ata/sata_promise.c
+++ b/drivers/ata/sata_promise.c
@@ -382,7 +382,7 @@ static int pdc_sata_port_start(struct ata_port *ap)
382 382
383 /* fix up PHYMODE4 align timing */ 383 /* fix up PHYMODE4 align timing */
384 if (ap->flags & PDC_FLAG_GEN_II) { 384 if (ap->flags & PDC_FLAG_GEN_II) {
385 void __iomem *mmio = (void __iomem *) ap->ioaddr.scr_addr; 385 void __iomem *mmio = ap->ioaddr.scr_addr;
386 unsigned int tmp; 386 unsigned int tmp;
387 387
388 tmp = readl(mmio + 0x014); 388 tmp = readl(mmio + 0x014);
@@ -418,7 +418,7 @@ static void pdc_reset_port(struct ata_port *ap)
418static int pdc_pata_cable_detect(struct ata_port *ap) 418static int pdc_pata_cable_detect(struct ata_port *ap)
419{ 419{
420 u8 tmp; 420 u8 tmp;
421 void __iomem *mmio = (void __iomem *) ap->ioaddr.cmd_addr + PDC_CTLSTAT + 0x03; 421 void __iomem *mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT + 0x03;
422 422
423 tmp = readb(mmio); 423 tmp = readb(mmio);
424 if (tmp & 0x01) 424 if (tmp & 0x01)
@@ -573,7 +573,7 @@ static void pdc_qc_prep(struct ata_queued_cmd *qc)
573 573
574static void pdc_freeze(struct ata_port *ap) 574static void pdc_freeze(struct ata_port *ap)
575{ 575{
576 void __iomem *mmio = (void __iomem *) ap->ioaddr.cmd_addr; 576 void __iomem *mmio = ap->ioaddr.cmd_addr;
577 u32 tmp; 577 u32 tmp;
578 578
579 tmp = readl(mmio + PDC_CTLSTAT); 579 tmp = readl(mmio + PDC_CTLSTAT);
@@ -585,7 +585,7 @@ static void pdc_freeze(struct ata_port *ap)
585 585
586static void pdc_thaw(struct ata_port *ap) 586static void pdc_thaw(struct ata_port *ap)
587{ 587{
588 void __iomem *mmio = (void __iomem *) ap->ioaddr.cmd_addr; 588 void __iomem *mmio = ap->ioaddr.cmd_addr;
589 u32 tmp; 589 u32 tmp;
590 590
591 /* clear IRQ */ 591 /* clear IRQ */