projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98de920
)
[MIPS] rtlx: Fix modpost warning
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 27 Jul 2007 23:51:45 +0000
(
00:51
+0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:26 +0000
(21:35 +0100)
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>
arch/mips/kernel/rtlx.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/rtlx.c
b/arch/mips/kernel/rtlx.c
index 5c040060560efe23f429cc54f2a36fbb37ee75ea..aab89e97abb530a109025e8fb039caca8375d97a 100644
(file)
--- 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;