diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-06-08 22:58:27 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-06-08 22:58:27 +0200 |
commit | 762cf9695d714d312ef7369bed1b9f9467c9e64e (patch) | |
tree | 92fd329124ae6b4fab43c24e44d847fe6ae6401b /drivers/clocksource/dw_apb_timer_of.c | |
parent | ce0b098981544d9f4e910ea48f3af3e726ca6d6b (diff) | |
parent | 77ba83bb1bb1cdabd522d32536f8eee65a870145 (diff) | |
download | blackbird-op-linux-762cf9695d714d312ef7369bed1b9f9467c9e64e.tar.gz blackbird-op-linux-762cf9695d714d312ef7369bed1b9f9467c9e64e.zip |
Merge branch 'timers/clockevents' of git://git.linaro.org/people/dlezcano/clockevents into timers/core
Diffstat (limited to 'drivers/clocksource/dw_apb_timer_of.c')
-rw-r--r-- | drivers/clocksource/dw_apb_timer_of.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/dw_apb_timer_of.c b/drivers/clocksource/dw_apb_timer_of.c index 8d2f809a0967..af13b8559b61 100644 --- a/drivers/clocksource/dw_apb_timer_of.c +++ b/drivers/clocksource/dw_apb_timer_of.c @@ -43,7 +43,7 @@ static void add_clockevent(struct device_node *event_timer) u32 irq, rate; irq = irq_of_parse_and_map(event_timer, 0); - if (irq == NO_IRQ) + if (irq == 0) panic("No IRQ for clock event timer"); timer_get_base_and_rate(event_timer, &iobase, &rate); |