]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/nios2/kernel/early_printk.c
nios2: use generic strncpy_from_user() and strnlen_user()
[karo-tx-linux.git] / arch / nios2 / kernel / early_printk.c
index c08e4c1486fcaef5ae70ca49c34f5b867b2485d9..4a7bb98f744ca987aa9df7e339f2e7e847978bac 100644 (file)
@@ -81,8 +81,11 @@ static void early_console_write(struct console *con, const char *s, unsigned n)
 }
 
 #else
-# error Neither SERIAL_ALTERA_JTAGUART_CONSOLE nor SERIAL_ALTERA_UART_CONSOLE \
-selected
+
+static void early_console_write(struct console *con, const char *s, unsigned n)
+{
+}
+
 #endif
 
 static struct console early_console_prom = {