@@ -97,8 +97,8 @@ static unsigned long event_delays_ns[] = {
static void ehci_enable_event(struct ehci_hcd *ehci, unsigned event,
bool resched)
{
- unsigned long *timeout = &ehci->hr_timeouts[event];
- unsigned long time_interval = 0;
+ rt_tick_t *timeout = &ehci->hr_timeouts[event];
+ rt_tick_t time_interval = 0;
if (resched)
@@ -119,7 +119,7 @@ struct ehci_hcd { /* one per controller */
/* timing support */
enum ehci_hrtimer_event next_hrtimer_event;
unsigned enabled_hrtimer_events;
- unsigned long hr_timeouts[EHCI_HRTIMER_NUM_EVENTS];
+ rt_tick_t hr_timeouts[EHCI_HRTIMER_NUM_EVENTS];
osal_timer_t hrtimer;
int PSS_poll_count;