All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH] i2c: Incorrect section use in scx200_acb
Date: Wed, 24 May 2006 07:06:43 +0000	[thread overview]
Message-ID: <20060524090643.b0c8a288.khali@linux-fr.org> (raw)

Fix an incorrect section use in i2c bus driver scx200_acb.

WARNING: drivers/i2c/busses/scx200_acb.o - Section mismatch:
reference to .init.text: from .text after 'scx200_add_cs553x'
(at offset 0x709)

Signed-off-by: Jean Delvare <khali at linux-fr.org>
---
 drivers/i2c/busses/scx200_acb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.17-rc4.orig/drivers/i2c/busses/scx200_acb.c	2006-05-23 17:07:11.000000000 +0200
+++ linux-2.6.17-rc4/drivers/i2c/busses/scx200_acb.c	2006-05-23 18:47:48.000000000 +0200
@@ -491,7 +491,7 @@
 
 #define MSR_LBAR_SMB		0x5140000B
 
-static int scx200_add_cs553x(void)
+static int __init scx200_add_cs553x(void)
 {
 	u32	low, hi;
 	u32	smb_base;


-- 
Jean Delvare


                 reply	other threads:[~2006-05-24  7:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20060524090643.b0c8a288.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@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.