sunxi-hal use rt_tick_t

This commit is contained in:
Yonggang Luo
2025-09-22 00:46:57 +08:00
committed by R b b666
parent 19451d9bb7
commit 5aa2faa2e2
2 changed files with 3 additions and 3 deletions
@@ -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;