aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/class/cdc-acm.h')
-rw-r--r--drivers/usb/class/cdc-acm.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h
index e38dc785808f..fc75651afe1c 100644
--- a/drivers/usb/class/cdc-acm.h
+++ b/drivers/usb/class/cdc-acm.h
@@ -120,15 +120,15 @@ struct acm {
120 unsigned int throttled:1; /* actually throttled */ 120 unsigned int throttled:1; /* actually throttled */
121 unsigned int throttle_req:1; /* throttle requested */ 121 unsigned int throttle_req:1; /* throttle requested */
122 u8 bInterval; 122 u8 bInterval;
123 struct acm_wb *delayed_wb; /* write queued for a device about to be woken */ 123 struct usb_anchor delayed; /* writes queued for a device about to be woken */
124}; 124};
125 125
126#define CDC_DATA_INTERFACE_TYPE 0x0a 126#define CDC_DATA_INTERFACE_TYPE 0x0a
127 127
128/* constants describing various quirks and errors */ 128/* constants describing various quirks and errors */
129#define NO_UNION_NORMAL 1 129#define NO_UNION_NORMAL BIT(0)
130#define SINGLE_RX_URB 2 130#define SINGLE_RX_URB BIT(1)
131#define NO_CAP_LINE 4 131#define NO_CAP_LINE BIT(2)
132#define NOT_A_MODEM 8 132#define NOT_A_MODEM BIT(3)
133#define NO_DATA_INTERFACE 16 133#define NO_DATA_INTERFACE BIT(4)
134#define IGNORE_DEVICE 32 134#define IGNORE_DEVICE BIT(5)