summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-16 16:02:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-16 16:23:28 +0200
commit19397a95a7d27ed882fe4e3ae68b99daf408082e (patch)
tree6bf187400e82549600e22757495f77fa92bb133e /target
parent713b492e724ac73aa87d6adb32994c08263a8d8f (diff)
fix serial output
Diffstat (limited to 'target')
-rw-r--r--target/mips/mikrotik-rb532/patches/3.15-rc5/rb532-serial.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/mips/mikrotik-rb532/patches/3.15-rc5/rb532-serial.patch b/target/mips/mikrotik-rb532/patches/3.15-rc5/rb532-serial.patch
new file mode 100644
index 000000000..1d3c0d624
--- /dev/null
+++ b/target/mips/mikrotik-rb532/patches/3.15-rc5/rb532-serial.patch
@@ -0,0 +1,16 @@
+diff -Nur linux-3.15-rc5.orig/drivers/tty/serial/serial_core.c linux-3.15-rc5/drivers/tty/serial/serial_core.c
+--- linux-3.15-rc5.orig/drivers/tty/serial/serial_core.c 2014-05-09 22:10:52.000000000 +0200
++++ linux-3.15-rc5/drivers/tty/serial/serial_core.c 2014-05-16 10:33:53.000000000 +0200
+@@ -2685,12 +2685,6 @@
+ }
+
+ /*
+- * If the port is used as a console, unregister it
+- */
+- if (uart_console(uport))
+- unregister_console(uport->cons);
+-
+- /*
+ * Free the port IO and memory resources, if any.
+ */
+ if (uport->type != PORT_UNKNOWN)