[PATCH] scx200_acb: fix section mismatch warning
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 26 May 2006 01:44:26 +0000 (18:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 26 May 2006 18:55:46 +0000 (11:55 -0700)
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>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/i2c/busses/scx200_acb.c

index a140e4536a4ee277fb7fe89e46fa9fdac847debf..766cc969c4d0c784abd0ef926363f2c37c7d735f 100644 (file)
@@ -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;