drivers/char/omap-rtc.c:125: error: static declaration of
'rtc_interrupt' follows non-static declaration
include/linux/rtc.h:107: error: previous declaration of
'rtc_interrupt' was here
Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
* A very tiny interrupt handler. It runs with SA_INTERRUPT set.
*/
-static irqreturn_t rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+irqreturn_t rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
/*
* Either an alarm interrupt or update complete interrupt.