summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_promise.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-10-10 23:48:07 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 00:37:23 +0200
commit03dc55064117508ad474f3eede3a77bf9fbb636f (patch)
tree8a3e4d4bfd97fc598f55e545df8991926f3cfbf0 /drivers/ata/sata_promise.c
parent[PATCH] gfp annotations: radix_tree_root (diff)
downloadlinux-03dc55064117508ad474f3eede3a77bf9fbb636f.tar.xz
linux-03dc55064117508ad474f3eede3a77bf9fbb636f.zip
[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/ata/sata_promise.c')
-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 d636ede064aa..8bcdfa64667c 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);