.. | .. |
---|
689 | 689 | static void xhci_unmap_td_bounce_buffer(struct xhci_hcd *xhci, |
---|
690 | 690 | struct xhci_ring *ring, struct xhci_td *td) |
---|
691 | 691 | { |
---|
692 | | - struct device *dev = xhci_to_hcd(xhci)->self.controller; |
---|
| 692 | + struct device *dev = xhci_to_hcd(xhci)->self.sysdev; |
---|
693 | 693 | struct xhci_segment *seg = td->bounce_seg; |
---|
694 | 694 | struct urb *urb = td->urb; |
---|
695 | 695 | size_t len; |
---|
.. | .. |
---|
3194 | 3194 | static int xhci_align_td(struct xhci_hcd *xhci, struct urb *urb, u32 enqd_len, |
---|
3195 | 3195 | u32 *trb_buff_len, struct xhci_segment *seg) |
---|
3196 | 3196 | { |
---|
3197 | | - struct device *dev = xhci_to_hcd(xhci)->self.controller; |
---|
| 3197 | + struct device *dev = xhci_to_hcd(xhci)->self.sysdev; |
---|
3198 | 3198 | unsigned int unalign; |
---|
3199 | 3199 | unsigned int max_pkt; |
---|
3200 | 3200 | u32 new_buff_len; |
---|