diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index 56cb73b1e90326e522d0e8cbf0452b706451de71..0f226b0d476170597c15a8b97efe8a1accd6070f 100644 --- a/drivers/usb/chipidea/ci.h +++ b/drivers/usb/chipidea/ci.h @@ -80,7 +80,6 @@ struct hw_bank { /* CI13XXX UDC descriptor & global resources */ struct ci13xxx { spinlock_t lock; /* ctrl register bank access */ - void __iomem *regs; /* registers address space */ struct dma_pool *qh_pool; /* DMA pool for queue heads */ struct dma_pool *td_pool; /* DMA pool for transfer descs */ diff --git a/drivers/usb/chipidea/ci13xxx_msm.c b/drivers/usb/chipidea/ci13xxx_msm.c index 9b09f0cd3d5a2a63bb6994706eff2ad0a68cec92..958069ef95e39273cfb36525251ea14b4ce59700 100644 --- a/drivers/usb/chipidea/ci13xxx_msm.c +++ b/drivers/usb/chipidea/ci13xxx_msm.c @@ -15,7 +15,7 @@ #include "ci.h" -#define MSM_USB_BASE (udc->regs) +#define MSM_USB_BASE (udc->hw_bank.abs) static void ci13xxx_msm_notify_event(struct ci13xxx *udc, unsigned event) {