Skip to contentSkip to conversation

trivial iomem annotations: sata_promise

PATCH New Al Viro 1 participant 1 message Oct 10, 2006

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 trivial iomem annotations: sata_promise

---
 drivers/ata/sata_promise.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/ata/sata_promise.c +1 -1
index d636ede..8bcdfa6 100644
@@ -360,7 +360,7 @@ static void pdc_sata_phy_reset(struct at
 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);
 
Signature · 1 line
1.4.2.GIT