]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] trivial iomem annotations: sata_promise
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:48:07 +0000 (22:48 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:23 +0000 (15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ata/sata_promise.c

index d636ede064aa2f9d84bee1635e55911ad8f3589e..8bcdfa64667c683f5171cee00579d7fbcc91ab22 100644 (file)
@@ -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);