|
@@ -2071,12 +2071,13 @@ module_init(rs_init)
|
|
|
module_exit(rs_exit)
|
|
|
|
|
|
|
|
|
+#if defined(CONFIG_SERIAL_CONSOLE) && !defined(MODULE)
|
|
|
+
|
|
|
/*
|
|
|
* ------------------------------------------------------------
|
|
|
* Serial console driver
|
|
|
* ------------------------------------------------------------
|
|
|
*/
|
|
|
-#ifdef CONFIG_SERIAL_CONSOLE
|
|
|
|
|
|
static void amiga_serial_putc(char c)
|
|
|
{
|
|
@@ -2130,6 +2131,7 @@ static int __init amiserial_console_init(void)
|
|
|
return 0;
|
|
|
}
|
|
|
console_initcall(amiserial_console_init);
|
|
|
-#endif
|
|
|
+
|
|
|
+#endif /* CONFIG_SERIAL_CONSOLE && !MODULE */
|
|
|
|
|
|
MODULE_LICENSE("GPL");
|