aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb/musb_host.h')
-rw-r--r--drivers/usb/musb/musb_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_host.h b/drivers/usb/musb/musb_host.h
index 622d09fb9aba..5a9c8feec10c 100644
--- a/drivers/usb/musb/musb_host.h
+++ b/drivers/usb/musb/musb_host.h
@@ -35,6 +35,8 @@
35#ifndef _MUSB_HOST_H 35#ifndef _MUSB_HOST_H
36#define _MUSB_HOST_H 36#define _MUSB_HOST_H
37 37
38#include <linux/scatterlist.h>
39
38static inline struct usb_hcd *musb_to_hcd(struct musb *musb) 40static inline struct usb_hcd *musb_to_hcd(struct musb *musb)
39{ 41{
40 return container_of((void *) musb, struct usb_hcd, hcd_priv); 42 return container_of((void *) musb, struct usb_hcd, hcd_priv);
@@ -71,6 +73,7 @@ struct musb_qh {
71 u16 maxpacket; 73 u16 maxpacket;
72 u16 frame; /* for periodic schedule */ 74 u16 frame; /* for periodic schedule */
73 unsigned iso_idx; /* in urb->iso_frame_desc[] */ 75 unsigned iso_idx; /* in urb->iso_frame_desc[] */
76 struct sg_mapping_iter sg_miter; /* for highmem in PIO mode */
74}; 77};
75 78
76/* map from control or bulk queue head to the first qh on that ring */ 79/* map from control or bulk queue head to the first qh on that ring */