summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-10-10 21:48:07 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-10 22:37:23 (GMT)
commit03dc55064117508ad474f3eede3a77bf9fbb636f (patch)
tree8a3e4d4bfd97fc598f55e545df8991926f3cfbf0 /drivers
parent20241ad409fbc42d9e7f92f5fdb4783b7f1b36eb (diff)
downloadlinux-fsl-qoriq-03dc55064117508ad474f3eede3a77bf9fbb636f.tar.xz
[PATCH] trivial iomem annotations: sata_promise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/sata_promise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c
index d636ede..8bcdfa6 100644
--- a/drivers/ata/sata_promise.c
+++ b/drivers/ata/sata_promise.c
@@ -360,7 +360,7 @@ static void pdc_sata_phy_reset(struct ata_port *ap)
static void pdc_pata_cbl_detect(struct ata_port *ap)
{
u8 tmp;
- void __iomem *mmio = (void *) ap->ioaddr.cmd_addr + PDC_CTLSTAT + 0x03;
+ void __iomem *mmio = (void __iomem *) ap->ioaddr.cmd_addr + PDC_CTLSTAT + 0x03;
tmp = readb(mmio);