mirror of https://github.com/hak5/openwrt.git
22 lines
544 B
Diff
22 lines
544 B
Diff
--- a/drivers/char/serial.c
|
|
+++ b/drivers/char/serial.c
|
|
@@ -5458,18 +5458,6 @@ static int __init rs_init(void)
|
|
sizeof(struct rs_multiport_struct));
|
|
#endif
|
|
}
|
|
-#ifdef CONFIG_SERIAL_CONSOLE
|
|
- /*
|
|
- * The interrupt of the serial console port
|
|
- * can't be shared.
|
|
- */
|
|
- if (sercons.flags & CON_CONSDEV) {
|
|
- for(i = 0; i < NR_PORTS; i++)
|
|
- if (i != sercons.index &&
|
|
- rs_table[i].irq == rs_table[sercons.index].irq)
|
|
- rs_table[i].irq = 0;
|
|
- }
|
|
-#endif
|
|
show_serial_version();
|
|
|
|
/* Initialize the tty_driver structure */
|