diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-02-22 16:44:30 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-02-22 16:47:59 +0100 |
commit | 00f4e13c4634b10f6a16b26a980b22a53dfa6bb5 (patch) | |
tree | 5ef96b00eeefb80d057ec35bd18adba30fb7cdfb /drivers/clocksource | |
parent | e182bb38d7db7494fa5dcd82da17fe0dedf60ecf (diff) | |
download | blackbird-op-linux-00f4e13c4634b10f6a16b26a980b22a53dfa6bb5.tar.gz blackbird-op-linux-00f4e13c4634b10f6a16b26a980b22a53dfa6bb5.zip |
clocksource : Nomadik-mtu : fix missing irq initialization
This patch fix the clock device irq field which is not initialized.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linaro-kernel@lists.linaro.org
Cc: patches@linaro.org
Cc: linus.walleij@stericsson.com
Cc: john.stultz@linaro.org
Link: http://lkml.kernel.org/r/1361547870-32638-1-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/nomadik-mtu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c index 8914c3c1c88b..7cbcaa02f52c 100644 --- a/drivers/clocksource/nomadik-mtu.c +++ b/drivers/clocksource/nomadik-mtu.c @@ -226,5 +226,6 @@ void __init nmdk_timer_init(void __iomem *base, int irq) /* Timer 1 is used for events, register irq and clockevents */ setup_irq(irq, &nmdk_timer_irq); nmdk_clkevt.cpumask = cpumask_of(0); + nmdk_clkevt.irq = irq; clockevents_config_and_register(&nmdk_clkevt, rate, 2, 0xffffffffU); } |