Skip to contentSkip to conversation

i2c: Incorrect section use in scx200_acb

PATCH New Jean Delvare 1 participant 1 message May 24, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Incorrect section use in scx200_acb

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(-)
drivers/i2c/busses/scx200_acb.c +1 -1
@@ -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;
Signature · 1 line
Jean Delvare