[ARM] rpc: convert an outb() to writeb()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 20 Jul 2007 09:44:02 +0000 (10:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jul 2007 20:29:39 +0000 (21:29 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-rpc/riscpc.c

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