All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Helt <krzysztof.h1@wp.pl>
To: sparclinux@vger.kernel.org
Subject: [PATCH] removes mismatch section warnigs in sparc time.c file
Date: Sat, 19 May 2007 17:01:23 +0000	[thread overview]
Message-ID: <4650813D.8020105@wp.pl> (raw)

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

From: Krzysztof Helt <krzysztof.h1@wp.pl>

This patch removes mismatch section warnings in the sparc/kernel/time.c 
file.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>

---
The patch diff-ed agains 2.6.22-rc2


[-- Attachment #2: time-init-warnings.diff --]
[-- Type: text/plain, Size: 875 bytes --]

diff -urp linux-2.6.21/arch/sparc/kernel/time.c linux-2.6.21.new/arch/sparc/kernel/time.c
--- linux-2.6.21/arch/sparc/kernel/time.c	2007-05-20 18:44:32.341445642 +0200
+++ linux-2.6.21.new/arch/sparc/kernel/time.c	2007-05-20 19:04:42.722421323 +0200
@@ -148,7 +148,7 @@ irqreturn_t timer_interrupt(int irq, voi
 }
 
 /* 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(vo
 	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;

             reply	other threads:[~2007-05-19 17:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19 17:01 Krzysztof Helt [this message]
2007-05-19 19:02 ` [PATCH] removes mismatch section warnigs in sparc time.c file David Miller
2007-05-20  5:06 ` Krzysztof Helt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4650813D.8020105@wp.pl \
    --to=krzysztof.h1@wp.pl \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.