From: Al Viro Date: Tue, 10 Oct 2006 21:48:07 +0000 (+0100) Subject: [PATCH] trivial iomem annotations: sata_promise X-Git-Tag: v2.6.19-rc2~172 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=03dc55064117508ad474f3eede3a77bf9fbb636f;p=linux-2.6-omap-h63xx.git [PATCH] trivial iomem annotations: sata_promise Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c index d636ede064a..8bcdfa64667 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);