tty/serial: atmel_serial: bootconsole removed from auto-enumerates
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 19 Oct 2011 09:36:20 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 19 Oct 2011 15:35:32 +0000 (08:35 -0700)
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>
drivers/tty/serial/atmel_serial.c

index fc4081e..358bbb2 100644 (file)
@@ -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;