summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rpc/riscpc.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-07-20 10:44:02 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-07-20 21:29:39 +0100
commit13a63ab289627e977a045864b36792cf0b61364a (patch)
treef7de174f74a79a7fc20c6c531bb60c0767edd709 /arch/arm/mach-rpc/riscpc.c
parent8b801ead3d7ab3cce991ea3a2d00c7336215fc7d (diff)
downloadop-kernel-dev-13a63ab289627e977a045864b36792cf0b61364a.zip
op-kernel-dev-13a63ab289627e977a045864b36792cf0b61364a.tar.gz
[ARM] rpc: convert an outb() to writeb()
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-rpc/riscpc.c')
-rw-r--r--arch/arm/mach-rpc/riscpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c
index 570cf93..a454451 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
OpenPOWER on IntegriCloud