Message ID | 002c01cfd311$8d3e0330$a7ba0990$@min@lge.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c index fd6bff0..4aed813 100644 --- a/arch/arm/common/timer-sp.c +++ b/arch/arm/common/timer-sp.c @@ -121,8 +121,8 @@ static irqreturn_t sp804_timer_interrupt(int irq, void *dev_id) /* clear the interrupt */ writel(1, clkevt_base + TIMER_INTCLR); - - evt->event_handler(evt); + if(evt->event_handler) + evt->event_handler(evt); return IRQ_HANDLED; }