Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d5a3f5f authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 98de920a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -471,7 +471,7 @@ static int rtlx_irq_num = MIPS_CPU_IRQ_BASE + MIPS_CPU_RTLX_IRQ;
static char register_chrdev_failed[] __initdata =
static char register_chrdev_failed[] __initdata =
	KERN_ERR "rtlx_module_init: unable to register device\n";
	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;
	struct device *dev;
	int i, err;
	int i, err;