]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix omap-rtc
authorDirk Behme <dirk.behme@googlemail.com>
Wed, 22 Mar 2006 14:55:29 +0000 (06:55 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Mar 2006 14:55:29 +0000 (06:55 -0800)
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>
drivers/char/omap-rtc.c

index d0e0014b705fd6aade3523b5947aff0ecab5932a..1ae41222bf7440b24e0c0d823d48f9c26dc18fe4 100644 (file)
@@ -121,7 +121,7 @@ static const unsigned char days_in_mo[] =
  *     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.