mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] scx200_acb: fix section mismatch warning
@ 2006-05-25 17:01 Randy.Dunlap
  2006-05-25 17:09 ` İsmail Dönmez
  2006-05-25 17:26 ` Jean Delvare
  0 siblings, 2 replies; 7+ messages in thread
From: Randy.Dunlap @ 2006-05-25 17:01 UTC (permalink / raw)
  To: ismail, khali, akpm; +Cc: lkml, lm-sensors

From: Randy Dunlap <rdunlap@xenotime.net>

Fix section mismatch warning reported by İsmail Dönmez:
WARNING: drivers/i2c/busses/scx200_acb.o - Section mismatch: reference
to .init.text: from .text after 'scx200_add_cs553x' (at offset 0x528)

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/i2c/busses/scx200_acb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2617-rc5.orig/drivers/i2c/busses/scx200_acb.c
+++ linux-2617-rc5/drivers/i2c/busses/scx200_acb.c
@@ -491,7 +491,7 @@ static struct pci_device_id divil_pci[] 
 
 #define MSR_LBAR_SMB		0x5140000B
 
-static int scx200_add_cs553x(void)
+static __init int scx200_add_cs553x(void)
 {
 	u32	low, hi;
 	u32	smb_base;


---

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-05-25 18:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-25 17:01 [PATCH] scx200_acb: fix section mismatch warning Randy.Dunlap
2006-05-25 17:09 ` İsmail Dönmez
2006-05-25 17:26 ` Jean Delvare
2006-05-25 18:06   ` Andrew Morton
2006-05-25 18:10     ` İsmail Dönmez
2006-05-25 18:16       ` Randy.Dunlap
2006-05-25 18:43       ` Andrew Morton

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

all inboxes | Powered by JetHome®