mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
serial: replace the state mutex with the tty port mutex
They cover essentially the same stuff and we can therefore fold it into the tty_port one. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
a03006860d
commit
a2bceae065
3 changed files with 123 additions and 114 deletions
|
@ -351,8 +351,6 @@ struct uart_state {
|
|||
struct tasklet_struct tlet;
|
||||
wait_queue_head_t delta_msr_wait;
|
||||
struct uart_port *uart_port;
|
||||
|
||||
struct mutex mutex;
|
||||
};
|
||||
|
||||
#define UART_XMIT_SIZE PAGE_SIZE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue