clocksource : Nomadik-mtu : fix missing irq initialization
authorDaniel Lezcano <[email protected]>
Fri, 22 Feb 2013 15:44:30 +0000 (16:44 +0100)
committerThomas Gleixner <[email protected]>
Fri, 22 Feb 2013 15:47:59 +0000 (16:47 +0100)
This patch fix the clock device irq field which is not initialized.

Signed-off-by: Daniel Lezcano <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
drivers/clocksource/nomadik-mtu.c

index 8914c3c1c88b08d8c183a23b17f1e2bd1ffb1e06..7cbcaa02f52c2670be6f2f6973f6be98beed9bc2 100644 (file)
@@ -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);
 }