aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-27 19:51:45 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 16:35:26 -0400
commit9d5a3f5fa389821f55c77462f30782b07080b8ef (patch)
tree1640bb983fc8362d565e23bb323d6f3a3affecf7 /arch/mips/kernel
parent98de920a2aa4f5939d47cdbb23ebac809308d871 (diff)
[MIPS] rtlx: Fix modpost warning
WARNING: vmlinux.o(.text+0x11504): Section mismatch: reference to .init.data:register_chrdev_failed (between 'rtlx_module_init' and 'rtlx_dispatch') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/rtlx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c
index 5c040060560e..aab89e97abb5 100644
--- a/arch/mips/kernel/rtlx.c
+++ b/arch/mips/kernel/rtlx.c
@@ -471,7 +471,7 @@ static int rtlx_irq_num = MIPS_CPU_IRQ_BASE + MIPS_CPU_RTLX_IRQ;
471static char register_chrdev_failed[] __initdata = 471static char register_chrdev_failed[] __initdata =
472 KERN_ERR "rtlx_module_init: unable to register device\n"; 472 KERN_ERR "rtlx_module_init: unable to register device\n";
473 473
474static int rtlx_module_init(void) 474static int __init rtlx_module_init(void)
475{ 475{
476 struct device *dev; 476 struct device *dev;
477 int i, err; 477 int i, err;