public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix omap-rtc
@ 2006-03-16 15:41 Dirk Behme
  0 siblings, 0 replies; only message in thread
From: Dirk Behme @ 2006-03-16 15:41 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]


ARM: OMAP: Fix omap-rtc:

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>


[-- Attachment #2: rtc_patch.txt --]
[-- Type: text/plain, Size: 492 bytes --]

--- ./drivers/char/omap-rtc.c_orig	2006-03-16 16:33:23.000000000 +0100
+++ ./drivers/char/omap-rtc.c	2006-03-16 16:39:37.000000000 +0100
@@ -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.


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-16 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-16 15:41 [PATCH] Fix omap-rtc Dirk Behme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox