diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2012-12-26 20:43:42 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-15 21:57:44 -0800 |
commit | e759d7c53b39a43fc908425bf9985b8b7d930550 (patch) | |
tree | 1dda0be7eed24d1ac06d43e8dbdd63a924280608 /include/linux/serial_core.h | |
parent | ef4f527c48c8fcbb5e35dafaef4f9097f5e9d901 (diff) | |
download | linux-stable-e759d7c53b39a43fc908425bf9985b8b7d930550.tar.gz linux-stable-e759d7c53b39a43fc908425bf9985b8b7d930550.tar.bz2 linux-stable-e759d7c53b39a43fc908425bf9985b8b7d930550.zip |
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>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r-- | include/linux/serial_core.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index ec5df74c4506..82aebc8ff77f 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -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 }; |