Commit e7298bfd authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] irqs: rtc

update rtc driver to new IRQ API
parent 99bc8497
......@@ -180,7 +180,7 @@ static const unsigned char days_in_mo[] =
* (See ./arch/XXXX/kernel/time.c for the set_rtc_mmss() function.)
*/
static void rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
static irqreturn_t rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
/*
* Can be an alarm interrupt, update complete interrupt,
......@@ -207,6 +207,7 @@ static void rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
wake_up_interruptible(&rtc_wait);
kill_fasync (&rtc_async_queue, SIGIO, POLL_IN);
return IRQ_HANDLED;
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment