diff options
Diffstat (limited to 'include/linux/usb/gadget.h')
-rw-r--r-- | include/linux/usb/gadget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 1a4a4bacfae6..21468a722c4a 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h | |||
@@ -48,6 +48,7 @@ struct usb_ep; | |||
48 | * by adding a zero length packet as needed; | 48 | * by adding a zero length packet as needed; |
49 | * @short_not_ok: When reading data, makes short packets be | 49 | * @short_not_ok: When reading data, makes short packets be |
50 | * treated as errors (queue stops advancing till cleanup). | 50 | * treated as errors (queue stops advancing till cleanup). |
51 | * @dma_mapped: Indicates if request has been mapped to DMA (internal) | ||
51 | * @complete: Function called when request completes, so this request and | 52 | * @complete: Function called when request completes, so this request and |
52 | * its buffer may be re-used. The function will always be called with | 53 | * its buffer may be re-used. The function will always be called with |
53 | * interrupts disabled, and it must not sleep. | 54 | * interrupts disabled, and it must not sleep. |
@@ -103,6 +104,7 @@ struct usb_request { | |||
103 | unsigned no_interrupt:1; | 104 | unsigned no_interrupt:1; |
104 | unsigned zero:1; | 105 | unsigned zero:1; |
105 | unsigned short_not_ok:1; | 106 | unsigned short_not_ok:1; |
107 | unsigned dma_mapped:1; | ||
106 | 108 | ||
107 | void (*complete)(struct usb_ep *ep, | 109 | void (*complete)(struct usb_ep *ep, |
108 | struct usb_request *req); | 110 | struct usb_request *req); |