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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03dc55064117508ad474f3eede3a77bf9fbb636f;p=linux-2.6 [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 d636ede064..8bcdfa6466 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);