projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9465d53
)
ata/sata_fsl: cleanup needless casts to/from void __iomem *
author
Jeff Garzik
<
[email protected]
>
Wed, 31 Oct 2007 11:27:58 +0000
(19:27 +0800)
committer
Jeff Garzik
<
[email protected]
>
Sat, 3 Nov 2007 12:46:28 +0000
(08:46 -0400)
Signed-off-by: Jeff Garzik <
[email protected]
>
Signed-off-by: Li Yang <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/ata/sata_fsl.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_fsl.c
b/drivers/ata/sata_fsl.c
index e04fb75e58fb2779e1e189eaf5ebb7cc285f8366..e3bf9546fd08c60631772e79f23edfd1129e03cf 100644
(file)
--- 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,
VPRINTK("xx_scr_write, reg_in = %d\n", sc_reg);
- iowrite32(val,
(void __iomem *)
ssr_base + (sc_reg * 4));
+ iowrite32(val, ssr_base + (sc_reg * 4));
return 0;
}
@@
-507,7
+507,7
@@
static int sata_fsl_scr_read(struct ata_port *ap, unsigned int sc_reg_in,
VPRINTK("xx_scr_read, reg_in = %d\n", sc_reg);
- *val = ioread32(
(void __iomem *)
ssr_base + (sc_reg * 4));
+ *val = ioread32(ssr_base + (sc_reg * 4));
return 0;
}