]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-rpc/riscpc.c
export amiga_vblank
[linux-2.6-omap-h63xx.git] / arch / arm / mach-rpc / riscpc.c
index 570cf937e73b378ea4cecbf91c17d547b16017ad..eca558c6bf5d1d121b18e89e68279c3f99c0706b 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/sched.h>
 #include <linux/device.h>
 #include <linux/serial_8250.h>
-#include <linux/pata_platform.h>
+#include <linux/ata_platform.h>
 
 #include <asm/elf.h>
 #include <asm/io.h>
@@ -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