From 8fe3605256c48b350a2faad20f6cae66f0cd19e4 Mon Sep 17 00:00:00 2001 From: Linus Torvalds <torvalds@ppc970.osdl.org> Date: Fri, 10 Sep 2004 08:51:02 -0700 Subject: [PATCH] ide: avoid PCI iomem warning in pmac.c --- drivers/ide/ppc/pmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index d4884c7f1dfa..bc08b6326d19 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c @@ -568,7 +568,7 @@ pmac_outbsync(ide_drive_t *drive, u8 value, unsigned long port) { u32 tmp; - writeb(value, port); + writeb(value, (void __iomem *) port); tmp = readl((unsigned *)(IDE_DATA_REG + IDE_TIMING_CONFIG)); } -- 2.30.9