diff options
-rw-r--r-- | drivers/serial/serial_core.c | 4 | ||||
-rw-r--r-- | include/linux/serial_core.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c index 2514d00c0f6f..1689bda1d13b 100644 --- a/drivers/serial/serial_core.c +++ b/drivers/serial/serial_core.c | |||
@@ -2426,7 +2426,7 @@ struct tty_driver *uart_console_device(struct console *co, int *index) | |||
2426 | /** | 2426 | /** |
2427 | * uart_add_one_port - attach a driver-defined port structure | 2427 | * uart_add_one_port - attach a driver-defined port structure |
2428 | * @drv: pointer to the uart low level driver structure for this port | 2428 | * @drv: pointer to the uart low level driver structure for this port |
2429 | * @port: uart port structure to use for this port. | 2429 | * @uport: uart port structure to use for this port. |
2430 | * | 2430 | * |
2431 | * This allows the driver to register its own uart_port structure | 2431 | * This allows the driver to register its own uart_port structure |
2432 | * with the core driver. The main purpose is to allow the low | 2432 | * with the core driver. The main purpose is to allow the low |
@@ -2499,7 +2499,7 @@ int uart_add_one_port(struct uart_driver *drv, struct uart_port *uport) | |||
2499 | /** | 2499 | /** |
2500 | * uart_remove_one_port - detach a driver defined port structure | 2500 | * uart_remove_one_port - detach a driver defined port structure |
2501 | * @drv: pointer to the uart low level driver structure for this port | 2501 | * @drv: pointer to the uart low level driver structure for this port |
2502 | * @port: uart port structure for this port | 2502 | * @uport: uart port structure for this port |
2503 | * | 2503 | * |
2504 | * This unhooks (and hangs up) the specified port structure from the | 2504 | * This unhooks (and hangs up) the specified port structure from the |
2505 | * core driver. No further calls will be made to the low-level code | 2505 | * core driver. No further calls will be made to the low-level code |
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index d58e460844dd..fe661afe0713 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -477,7 +477,7 @@ static inline int uart_handle_break(struct uart_port *port) | |||
477 | 477 | ||
478 | /** | 478 | /** |
479 | * uart_handle_dcd_change - handle a change of carrier detect state | 479 | * uart_handle_dcd_change - handle a change of carrier detect state |
480 | * @port: uart_port structure for the open port | 480 | * @uport: uart_port structure for the open port |
481 | * @status: new carrier detect status, nonzero if active | 481 | * @status: new carrier detect status, nonzero if active |
482 | */ | 482 | */ |
483 | static inline void | 483 | static inline void |
@@ -503,7 +503,7 @@ uart_handle_dcd_change(struct uart_port *uport, unsigned int status) | |||
503 | 503 | ||
504 | /** | 504 | /** |
505 | * uart_handle_cts_change - handle a change of clear-to-send state | 505 | * uart_handle_cts_change - handle a change of clear-to-send state |
506 | * @port: uart_port structure for the open port | 506 | * @uport: uart_port structure for the open port |
507 | * @status: new clear to send status, nonzero if active | 507 | * @status: new clear to send status, nonzero if active |
508 | */ | 508 | */ |
509 | static inline void | 509 | static inline void |