Skip to content

Commit

Permalink
tty/serial: atmel_serial: bootconsole removed from auto-enumerates
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolas Ferre authored and Greg Kroah-Hartman committed Oct 19, 2011
1 parent a034070 commit 32cffe5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/tty/serial/atmel_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 32cffe5

Please sign in to comment.