> #ifndef CONFIG_ARCH_MXC > if (pdata->have_sysif_regs) > - usb_sys_regs = (struct usb_sys_interface *) > - ((u32)dr_regs + USB_DR_SYS_OFFSET); > + usb_sys_regs = ioremap(res->start + USB_DR_SYS_OFFSET, > + sizeof(struct usb_sys_interface)/sizeof(int)); > #endif That ioremap() doesn't look right. Isn't the 'size' in bytes?? (Although it will only matter if it crosses a page boundary.) Mind you, I'd have though the original ioremap() should have covered the entire structure?? David -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html