This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / serial / serial_core.c
index 24ef1cb..774ad38 100644 (file)
@@ -1923,7 +1923,7 @@ int uart_suspend_port(struct uart_driver *drv, struct uart_port *port)
         * Disable the console device before suspending.
         */
        if (uart_console(port))
-               console_stop(port->cons);
+               port->cons->flags &= ~CON_ENABLED;
 
        uart_change_pm(state, 3);
 
@@ -1945,7 +1945,7 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *port)
         */
        if (uart_console(port)) {
                uart_change_speed(state, NULL);
-               console_start(port->cons);
+               port->cons->flags |= CON_ENABLED;
        }
 
        if (state->info && state->info->flags & UIF_INITIALIZED) {