Commit cec2f0ca authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] A struct console.setup function may not be __init.

parent cf028d17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ static void prom_console_write(struct console *co, const char *s,
	}
}

static int __init prom_console_setup(struct console *co, char *options)
static int prom_console_setup(struct console *co, char *options)
{
	return !(prom_flags & PROM_FLAG_USE_AS_CONSOLE);
}