serial: take termios_rwsem for ->rs485_config() & pass termios as param
[sfrench/cifs-2.6.git] / include / linux / serial_core.h
index faaf2372c60dbc2e1b8d32bc6a701d10beedce53..b7b86ee3cb125a2ab3c9d35531d70b5e9bec7c63 100644 (file)
@@ -133,6 +133,7 @@ struct uart_port {
                                      unsigned int old);
        void                    (*handle_break)(struct uart_port *);
        int                     (*rs485_config)(struct uart_port *,
+                                               struct ktermios *termios,
                                                struct serial_rs485 *rs485);
        int                     (*iso7816_config)(struct uart_port *,
                                                  struct serial_iso7816 *iso7816);