From: Nicolas Ferre Date: Wed, 19 Oct 2011 09:36:20 +0000 (+0200) Subject: tty/serial: atmel_serial: bootconsole removed from auto-enumerates X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=32cffe537c7d426cfe33647fed403d409ea3f686;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index fc4081ead727..358bbb279d2b 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -1674,7 +1674,6 @@ static int __init atmel_console_init(void) int id = atmel_default_console_device->id; struct atmel_uart_port *port = &atmel_ports[id]; - set_bit(id, &atmel_ports_in_use); port->backup_imr = 0; port->uart.line = id;