From: Al Viro Date: Tue, 10 Oct 2006 21:48:07 +0000 (+0100) Subject: [PATCH] trivial iomem annotations: sata_promise X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=03dc55064117508ad474f3eede3a77bf9fbb636f;p=linux-beck.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 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);