diff options
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r-- | drivers/usb/host/ehci.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 6874d89b0b64..bcfbb175e2b4 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h | |||
@@ -83,6 +83,7 @@ enum ehci_hrtimer_event { | |||
83 | EHCI_HRTIMER_POLL_PSS, /* Poll for periodic schedule off */ | 83 | EHCI_HRTIMER_POLL_PSS, /* Poll for periodic schedule off */ |
84 | EHCI_HRTIMER_POLL_DEAD, /* Wait for dead controller to stop */ | 84 | EHCI_HRTIMER_POLL_DEAD, /* Wait for dead controller to stop */ |
85 | EHCI_HRTIMER_UNLINK_INTR, /* Wait for interrupt QH unlink */ | 85 | EHCI_HRTIMER_UNLINK_INTR, /* Wait for interrupt QH unlink */ |
86 | EHCI_HRTIMER_FREE_ITDS, /* Wait for unused iTDs and siTDs */ | ||
86 | EHCI_HRTIMER_DISABLE_PERIODIC, /* Wait to disable periodic sched */ | 87 | EHCI_HRTIMER_DISABLE_PERIODIC, /* Wait to disable periodic sched */ |
87 | EHCI_HRTIMER_DISABLE_ASYNC, /* Wait to disable async sched */ | 88 | EHCI_HRTIMER_DISABLE_ASYNC, /* Wait to disable async sched */ |
88 | EHCI_HRTIMER_NUM_EVENTS /* Must come last */ | 89 | EHCI_HRTIMER_NUM_EVENTS /* Must come last */ |
@@ -139,7 +140,9 @@ struct ehci_hcd { /* one per controller */ | |||
139 | 140 | ||
140 | /* list of itds & sitds completed while clock_frame was still active */ | 141 | /* list of itds & sitds completed while clock_frame was still active */ |
141 | struct list_head cached_itd_list; | 142 | struct list_head cached_itd_list; |
143 | struct ehci_itd *last_itd_to_free; | ||
142 | struct list_head cached_sitd_list; | 144 | struct list_head cached_sitd_list; |
145 | struct ehci_sitd *last_sitd_to_free; | ||
143 | unsigned clock_frame; | 146 | unsigned clock_frame; |
144 | 147 | ||
145 | /* per root hub port */ | 148 | /* per root hub port */ |
@@ -250,8 +253,6 @@ timer_action_done (struct ehci_hcd *ehci, enum ehci_timer_action action) | |||
250 | clear_bit (action, &ehci->actions); | 253 | clear_bit (action, &ehci->actions); |
251 | } | 254 | } |
252 | 255 | ||
253 | static void free_cached_lists(struct ehci_hcd *ehci); | ||
254 | |||
255 | /*-------------------------------------------------------------------------*/ | 256 | /*-------------------------------------------------------------------------*/ |
256 | 257 | ||
257 | #include <linux/usb/ehci_def.h> | 258 | #include <linux/usb/ehci_def.h> |