diff options
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r-- | drivers/usb/host/xhci.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index fde57b09a9bd..2774526449a6 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h | |||
@@ -1295,7 +1295,6 @@ struct xhci_td { | |||
1295 | 1295 | ||
1296 | /* command descriptor */ | 1296 | /* command descriptor */ |
1297 | struct xhci_cd { | 1297 | struct xhci_cd { |
1298 | struct list_head cancel_cmd_list; | ||
1299 | struct xhci_command *command; | 1298 | struct xhci_command *command; |
1300 | union xhci_trb *cmd_trb; | 1299 | union xhci_trb *cmd_trb; |
1301 | }; | 1300 | }; |
@@ -1480,9 +1479,10 @@ struct xhci_hcd { | |||
1480 | #define CMD_RING_STATE_RUNNING (1 << 0) | 1479 | #define CMD_RING_STATE_RUNNING (1 << 0) |
1481 | #define CMD_RING_STATE_ABORTED (1 << 1) | 1480 | #define CMD_RING_STATE_ABORTED (1 << 1) |
1482 | #define CMD_RING_STATE_STOPPED (1 << 2) | 1481 | #define CMD_RING_STATE_STOPPED (1 << 2) |
1483 | struct list_head cancel_cmd_list; | ||
1484 | struct list_head cmd_list; | 1482 | struct list_head cmd_list; |
1485 | unsigned int cmd_ring_reserved_trbs; | 1483 | unsigned int cmd_ring_reserved_trbs; |
1484 | struct timer_list cmd_timer; | ||
1485 | struct xhci_command *current_cmd; | ||
1486 | struct xhci_ring *event_ring; | 1486 | struct xhci_ring *event_ring; |
1487 | struct xhci_erst erst; | 1487 | struct xhci_erst erst; |
1488 | /* Scratchpad */ | 1488 | /* Scratchpad */ |
@@ -1845,8 +1845,8 @@ void xhci_queue_config_ep_quirk(struct xhci_hcd *xhci, | |||
1845 | unsigned int slot_id, unsigned int ep_index, | 1845 | unsigned int slot_id, unsigned int ep_index, |
1846 | struct xhci_dequeue_state *deq_state); | 1846 | struct xhci_dequeue_state *deq_state); |
1847 | void xhci_stop_endpoint_command_watchdog(unsigned long arg); | 1847 | void xhci_stop_endpoint_command_watchdog(unsigned long arg); |
1848 | int xhci_cancel_cmd(struct xhci_hcd *xhci, struct xhci_command *command, | 1848 | void xhci_handle_command_timeout(unsigned long data); |
1849 | union xhci_trb *cmd_trb); | 1849 | |
1850 | void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id, | 1850 | void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id, |
1851 | unsigned int ep_index, unsigned int stream_id); | 1851 | unsigned int ep_index, unsigned int stream_id); |
1852 | void xhci_cleanup_command_queue(struct xhci_hcd *xhci); | 1852 | void xhci_cleanup_command_queue(struct xhci_hcd *xhci); |