On 04/10/2013 01:47 PM, John Crispin wrote: > + > +static int rt_timer_request(struct rt_timer *rt) > +{ > + int err = request_irq(rt->irq, rt_timer_irq, IRQF_DISABLED, IRQF_DISABLED is deprecated and a no-op these dats since all interrupts run with IRQs disabled, it shouldn't be used in new code. > + dev_name(rt->dev), rt); > + if (err) { > + dev_err(rt->dev, "failed to request irq\n"); > + } else { > + u32 t = TMR0CTL_MODE_PERIODIC | TMR0CTL_PRESCALE_VAL; > + rt_timer_w32(rt, TIMER_REG_TMR0CTL, t); > + } > + return err; > +}