rb532-serial.patch 548 B

12345678910111213141516
  1. diff -Nur linux-3.15-rc5.orig/drivers/tty/serial/serial_core.c linux-3.15-rc5/drivers/tty/serial/serial_core.c
  2. --- linux-3.15-rc5.orig/drivers/tty/serial/serial_core.c 2014-05-09 22:10:52.000000000 +0200
  3. +++ linux-3.15-rc5/drivers/tty/serial/serial_core.c 2014-05-16 10:33:53.000000000 +0200
  4. @@ -2685,12 +2685,6 @@
  5. }
  6. /*
  7. - * If the port is used as a console, unregister it
  8. - */
  9. - if (uart_console(uport))
  10. - unregister_console(uport->cons);
  11. -
  12. - /*
  13. * Free the port IO and memory resources, if any.
  14. */
  15. if (uport->type != PORT_UNKNOWN)