浏览代码

tty/serial: atmel_serial: bootconsole removed from auto-enumerates

Auto-enumerate mechanism conflicts with bootconsoles: remove
the usage counter for this type of consoles.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Nicolas Ferre 13 年之前
父节点
当前提交
32cffe537c
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/tty/serial/atmel_serial.c

+ 0 - 1
drivers/tty/serial/atmel_serial.c

@@ -1674,7 +1674,6 @@ static int __init atmel_console_init(void)
 		int id = atmel_default_console_device->id;
 		int id = atmel_default_console_device->id;
 		struct atmel_uart_port *port = &atmel_ports[id];
 		struct atmel_uart_port *port = &atmel_ports[id];
 
 
-		set_bit(id, &atmel_ports_in_use);
 		port->backup_imr = 0;
 		port->backup_imr = 0;
 		port->uart.line = id;
 		port->uart.line = id;