diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-31 07:27:58 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-03 08:46:28 -0400 |
commit | 2a52e8d4ea86a9143b4c3a1c1ec249a3b8bee74e (patch) | |
tree | 7685704a576ffb0bc802658c4e5641256a5db463 /drivers/ata/sata_fsl.c | |
parent | 9465d5324834f1e99c1343b7bbdc5e6ac8c83f87 (diff) |
ata/sata_fsl: cleanup needless casts to/from void __iomem *
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_fsl.c')
-rw-r--r-- | drivers/ata/sata_fsl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index e04fb75e58fb..e3bf9546fd08 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c | |||
@@ -483,7 +483,7 @@ static int sata_fsl_scr_write(struct ata_port *ap, unsigned int sc_reg_in, | |||
483 | 483 | ||
484 | VPRINTK("xx_scr_write, reg_in = %d\n", sc_reg); | 484 | VPRINTK("xx_scr_write, reg_in = %d\n", sc_reg); |
485 | 485 | ||
486 | iowrite32(val, (void __iomem *)ssr_base + (sc_reg * 4)); | 486 | iowrite32(val, ssr_base + (sc_reg * 4)); |
487 | return 0; | 487 | return 0; |
488 | } | 488 | } |
489 | 489 | ||
@@ -507,7 +507,7 @@ static int sata_fsl_scr_read(struct ata_port *ap, unsigned int sc_reg_in, | |||
507 | 507 | ||
508 | VPRINTK("xx_scr_read, reg_in = %d\n", sc_reg); | 508 | VPRINTK("xx_scr_read, reg_in = %d\n", sc_reg); |
509 | 509 | ||
510 | *val = ioread32((void __iomem *)ssr_base + (sc_reg * 4)); | 510 | *val = ioread32(ssr_base + (sc_reg * 4)); |
511 | return 0; | 511 | return 0; |
512 | } | 512 | } |
513 | 513 | ||