Commit 8fe36052 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

ide: avoid PCI iomem warning in pmac.c

parent e6cc3360
...@@ -568,7 +568,7 @@ pmac_outbsync(ide_drive_t *drive, u8 value, unsigned long port) ...@@ -568,7 +568,7 @@ pmac_outbsync(ide_drive_t *drive, u8 value, unsigned long port)
{ {
u32 tmp; u32 tmp;
writeb(value, port); writeb(value, (void __iomem *) port);
tmp = readl((unsigned *)(IDE_DATA_REG + IDE_TIMING_CONFIG)); tmp = readl((unsigned *)(IDE_DATA_REG + IDE_TIMING_CONFIG));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment