aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/amiserial.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/char/amiserial.c b/drivers/char/amiserial.c
index 98821f97583c..b97aebd7aeb8 100644
--- a/drivers/char/amiserial.c
+++ b/drivers/char/amiserial.c
@@ -2071,12 +2071,13 @@ module_init(rs_init)
2071module_exit(rs_exit) 2071module_exit(rs_exit)
2072 2072
2073 2073
2074#if defined(CONFIG_SERIAL_CONSOLE) && !defined(MODULE)
2075
2074/* 2076/*
2075 * ------------------------------------------------------------ 2077 * ------------------------------------------------------------
2076 * Serial console driver 2078 * Serial console driver
2077 * ------------------------------------------------------------ 2079 * ------------------------------------------------------------
2078 */ 2080 */
2079#ifdef CONFIG_SERIAL_CONSOLE
2080 2081
2081static void amiga_serial_putc(char c) 2082static void amiga_serial_putc(char c)
2082{ 2083{
@@ -2130,6 +2131,7 @@ static int __init amiserial_console_init(void)
2130 return 0; 2131 return 0;
2131} 2132}
2132console_initcall(amiserial_console_init); 2133console_initcall(amiserial_console_init);
2133#endif 2134
2135#endif /* CONFIG_SERIAL_CONSOLE && !MODULE */
2134 2136
2135MODULE_LICENSE("GPL"); 2137MODULE_LICENSE("GPL");