소스 검색

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

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 18 년 전
부모
커밋
13a63ab289
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.
 	 */
-	outb(0xc, 0x3f2);
+	writeb(0xc, PCIO_BASE + (0x3f2 << 2));
 
 	/*
 	 * RiscPC can't handle half-word loads and stores