summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/time.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2007-05-19 19:03:24 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-29 09:49:16 (GMT)
commit42e28264783f1b3b9a99e0fdda263ed9bffcf331 (patch)
treebbe3fa86a72adf6d095fe16309cdcd349205f4e0 /arch/sparc/kernel/time.c
parent59db8102bd0ab7a67d525d086ca08e07d69fadd4 (diff)
downloadlinux-42e28264783f1b3b9a99e0fdda263ed9bffcf331.tar.xz
[SPARC32]: Removes mismatch section warnigs in sparc time.c file
This patch removes mismatch section warnings in the sparc/kernel/time.c file. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/time.c')
-rw-r--r--arch/sparc/kernel/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c
index f1401b5..7b4612d 100644
--- a/arch/sparc/kernel/time.c
+++ b/arch/sparc/kernel/time.c
@@ -148,7 +148,7 @@ irqreturn_t timer_interrupt(int irq, void *dev_id)
}
/* Kick start a stopped clock (procedure from the Sun NVRAM/hostid FAQ). */
-static void __init kick_start_clock(void)
+static void __devinit kick_start_clock(void)
{
struct mostek48t02 *regs = (struct mostek48t02 *)mstk48t02_regs;
unsigned char sec;
@@ -223,7 +223,7 @@ static __inline__ int has_low_battery(void)
return (data1 == data2); /* Was the write blocked? */
}
-static void __init mostek_set_system_time(void)
+static void __devinit mostek_set_system_time(void)
{
unsigned int year, mon, day, hour, min, sec;
struct mostek48t02 *mregs;