aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2011-10-19 11:36:20 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-19 08:35:32 -0700
commit32cffe537c7d426cfe33647fed403d409ea3f686 (patch)
tree1f23ea7ebbef50d77aee9e6643747a5934f61711 /drivers/tty
parentRevert "TTY: call tty_driver_lookup_tty unconditionally" (diff)
downloadlinux-dev-32cffe537c7d426cfe33647fed403d409ea3f686.tar.xz
linux-dev-32cffe537c7d426cfe33647fed403d409ea3f686.zip
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/atmel_serial.c1
1 files changed, 0 insertions, 1 deletions
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;