diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-28 01:51:45 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-31 22:35:26 +0200 |
commit | 9d5a3f5fa389821f55c77462f30782b07080b8ef (patch) | |
tree | 1640bb983fc8362d565e23bb323d6f3a3affecf7 /arch/mips/kernel/rtlx.c | |
parent | [MIPS] Add missing declaration for mips_ihb(). (diff) | |
download | linux-9d5a3f5fa389821f55c77462f30782b07080b8ef.tar.xz linux-9d5a3f5fa389821f55c77462f30782b07080b8ef.zip |
[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; static char register_chrdev_failed[] __initdata = KERN_ERR "rtlx_module_init: unable to register device\n"; -static int rtlx_module_init(void) +static int __init rtlx_module_init(void) { struct device *dev; int i, err; |