[PATCH] nfcon: early_param() does not exist in the modular case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



early_param() does not exist in the modular case

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
---
 arch/m68k/emu/nfcon.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/arch/m68k/emu/nfcon.c
+++ b/arch/m68k/emu/nfcon.c
@@ -101,6 +101,8 @@ static const struct tty_operations nfcon
 	.write_room	= nfcon_tty_write_room,
 };
 
+#ifndef MODULE
+
 static int __init nf_debug_setup(char *arg)
 {
 	if (strcmp(arg, "nfcon"))
@@ -117,6 +119,8 @@ static int __init nf_debug_setup(char *a
 
 early_param("debug", nf_debug_setup);
 
+#endif /* !MODULE */
+
 static int __init nfcon_init(void)
 {
 	int res;

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux