Skip to content

Commit

Permalink
clocksource/drivers/timer-vf-pit: Add missing parenthesis
Browse files Browse the repository at this point in the history
Recently all usage of setup_irq() was replaced by request_irq(). The
replacement in timer-vf-pit.c missed closing parentheses resulting in a build
error (vf610m4_defconfig). Fix it.

Fixes: cc2550b ("clocksource: Replace setup_irq() by request_irq()")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200323061130.GA6286@afzalpc
  • Loading branch information
afzal mohammed authored and Thomas Gleixner committed Apr 5, 2020
1 parent 73d2056 commit 760a537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clocksource/timer-vf-pit.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int __init pit_clockevent_init(unsigned long rate, int irq)
__raw_writel(PITTFLG_TIF, clkevt_base + PITTFLG);

BUG_ON(request_irq(irq, pit_timer_interrupt, IRQF_TIMER | IRQF_IRQPOLL,
"VF pit timer", &clockevent_pit);
"VF pit timer", &clockevent_pit));

clockevent_pit.cpumask = cpumask_of(0);
clockevent_pit.irq = irq;
Expand Down

0 comments on commit 760a537

Please sign in to comment.