[PATCH] trivial iomem annotations: sata_promise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
20241ad409
commit
03dc550641
|
@ -360,7 +360,7 @@ static void pdc_sata_phy_reset(struct ata_port *ap)
|
||||||
static void pdc_pata_cbl_detect(struct ata_port *ap)
|
static void pdc_pata_cbl_detect(struct ata_port *ap)
|
||||||
{
|
{
|
||||||
u8 tmp;
|
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);
|
tmp = readb(mmio);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue