From: Russell King Date: Fri, 20 Jul 2007 09:44:02 +0000 (+0100) Subject: [ARM] rpc: convert an outb() to writeb() X-Git-Tag: v2.6.23-rc1~8^2^6~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13a63ab289627e977a045864b36792cf0b61364a;p=linux-2.6 [ARM] rpc: convert an outb() to writeb() Signed-off-by: Russell King --- diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c index 570cf937e7..a454451c97 100644 --- a/arch/arm/mach-rpc/riscpc.c +++ b/arch/arm/mach-rpc/riscpc.c @@ -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