#include <linux/prefetch.h>
 #include <linux/usb.h>
 #include <linux/irq.h>
+#include <linux/io.h>
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
 #include <linux/usb/nop-usb-xceiv.h>
                /* Best case is 32bit-aligned destination address */
                if ((0x02 & (unsigned long) buf) == 0) {
                        if (len >= 4) {
-                               writesl(fifo, buf, len >> 2);
+                               iowrite32_rep(fifo, buf, len >> 2);
                                buf += (len & ~0x03);
                                len &= 0x03;
                        }
                /* Best case is 32bit-aligned destination address */
                if ((0x02 & (unsigned long) buf) == 0) {
                        if (len >= 4) {
-                               readsl(fifo, buf, len >> 2);
+                               ioread32_rep(fifo, buf, len >> 2);
                                buf += (len & ~0x03);
                                len &= 0x03;
                        }