Commit ae558895 authored by David S. Miller's avatar David S. Miller

[RTC]: Update for irqreturn_t.

parent 100c9a0b
......@@ -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,8 @@ 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