serial: 8250: Use canary to restart console after suspend
[cascardo/linux.git] / include / linux / serial_8250.h
index 245b959..a8efa23 100644 (file)
@@ -85,6 +85,9 @@ struct uart_8250_port {
        unsigned char           mcr_force;      /* mask of forced bits */
        unsigned char           cur_iotype;     /* Running I/O type */
        unsigned int            rpm_tx_active;
+       unsigned char           canary;         /* non-zero during system sleep
+                                                *   if no_console_suspend
+                                                */
 
        /*
         * Some bits in registers are cleared on a read, so they must