Browse Source

[ARM] rpc: convert an outb() to writeb()

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 18 years ago
parent
commit
13a63ab289
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-rpc/riscpc.c

+ 1 - 1
arch/arm/mach-rpc/riscpc.c

@@ -87,7 +87,7 @@ static void __init rpc_map_io(void)
 	/*
 	/*
 	 * Turn off floppy.
 	 * Turn off floppy.
 	 */
 	 */
-	outb(0xc, 0x3f2);
+	writeb(0xc, PCIO_BASE + (0x3f2 << 2));
 
 
 	/*
 	/*
 	 * RiscPC can't handle half-word loads and stores
 	 * RiscPC can't handle half-word loads and stores