diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-09-21 14:12:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 14:24:57 -0400 |
commit | 1b9894f342a39601bb0420b7b8c7e445670c1b51 (patch) | |
tree | 09b063187a7b09690c08dac73d3bd49a72f5dbe8 /drivers | |
parent | 7043078630bbc9eb908a56e08077c5abe7f2d311 (diff) |
serial core: fix new kernel-doc warnings
Fix new kernel-doc warnings in serial_core.[hc] files.
Warning(include/linux/serial_core.h:485): No description found for parameter 'uport'
Warning(include/linux/serial_core.h:485): Excess function parameter 'port' description in 'uart_handle_dcd_change'
Warning(include/linux/serial_core.h:511): No description found for parameter 'uport'
Warning(include/linux/serial_core.h:511): Excess function parameter 'port' description in 'uart_handle_cts_change'
Warning(drivers/serial/serial_core.c:2437): No description found for parameter 'uport'
Warning(drivers/serial/serial_core.c:2437): Excess function parameter 'port' description in 'uart_add_one_port'
Warning(drivers/serial/serial_core.c:2509): No description found for parameter 'uport'
Warning(drivers/serial/serial_core.c:2509): Excess function parameter 'port' description in 'uart_remove_one_port'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/serial_core.c | 4 |
1 files changed, 2 insertions, 2 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 |