mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
tty: Update serial core API documentation
Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ef4f527c48
commit
e759d7c53b
2 changed files with 43 additions and 4 deletions
|
@ -37,8 +37,8 @@ struct serial_struct;
|
|||
struct device;
|
||||
|
||||
/*
|
||||
* This structure describes all the operations that can be
|
||||
* done on the physical hardware.
|
||||
* This structure describes all the operations that can be done on the
|
||||
* physical hardware. See Documentation/serial/driver for details.
|
||||
*/
|
||||
struct uart_ops {
|
||||
unsigned int (*tx_empty)(struct uart_port *);
|
||||
|
@ -65,7 +65,7 @@ struct uart_ops {
|
|||
/*
|
||||
* Return a string describing the type of the port
|
||||
*/
|
||||
const char *(*type)(struct uart_port *);
|
||||
const char *(*type)(struct uart_port *);
|
||||
|
||||
/*
|
||||
* Release IO and memory resources used by the port.
|
||||
|
@ -83,7 +83,7 @@ struct uart_ops {
|
|||
int (*ioctl)(struct uart_port *, unsigned int, unsigned long);
|
||||
#ifdef CONFIG_CONSOLE_POLL
|
||||
int (*poll_init)(struct uart_port *);
|
||||
void (*poll_put_char)(struct uart_port *, unsigned char);
|
||||
void (*poll_put_char)(struct uart_port *, unsigned char);
|
||||
int (*poll_get_char)(struct uart_port *);
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue