diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-27 19:51:45 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-31 16:35:26 -0400 |
commit | 9d5a3f5fa389821f55c77462f30782b07080b8ef (patch) | |
tree | 1640bb983fc8362d565e23bb323d6f3a3affecf7 /arch/mips/kernel/rtlx.c | |
parent | 98de920a2aa4f5939d47cdbb23ebac809308d871 (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/rtlx.c')
-rw-r--r-- | arch/mips/kernel/rtlx.c | 2 |
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; | |||
471 | static char register_chrdev_failed[] __initdata = | 471 | static 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 | ||
474 | static int rtlx_module_init(void) | 474 | static int __init rtlx_module_init(void) |
475 | { | 475 | { |
476 | struct device *dev; | 476 | struct device *dev; |
477 | int i, err; | 477 | int i, err; |