Commit 42e28264 authored by Krzysztof Helt's avatar Krzysztof Helt Committed by David S. Miller

[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: default avatarKrzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 59db8102
...@@ -148,7 +148,7 @@ irqreturn_t timer_interrupt(int irq, void *dev_id) ...@@ -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). */ /* 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; struct mostek48t02 *regs = (struct mostek48t02 *)mstk48t02_regs;
unsigned char sec; unsigned char sec;
...@@ -223,7 +223,7 @@ static __inline__ int has_low_battery(void) ...@@ -223,7 +223,7 @@ static __inline__ int has_low_battery(void)
return (data1 == data2); /* Was the write blocked? */ 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; unsigned int year, mon, day, hour, min, sec;
struct mostek48t02 *mregs; struct mostek48t02 *mregs;
......
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