mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 21:03:32 +00:00
serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
commit29bff582b7
upstream. Fix the function name to avoid a kernel-doc warning: include/linux/serial_core.h:666: warning: expecting prototype for uart_port_lock_irqrestore(). Prototype was for uart_port_unlock_irqrestore() instead Fixes:b0af4bcb49
("serial: core: Provide port lock wrappers") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: John Ogness <john.ogness@linutronix.de> Cc: linux-serial@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jirislaby@kernel.org> Reviewed-by: John Ogness <john.ogness@linutronix.de> Link: https://lore.kernel.org/r/20230927044128.4748-1-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4fc0b7838c
commit
6e5937b23a
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ static inline void uart_port_unlock_irq(struct uart_port *up)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* uart_port_lock_irqrestore - Unlock the UART port, restore interrupts
|
* uart_port_unlock_irqrestore - Unlock the UART port, restore interrupts
|
||||||
* @up: Pointer to UART port structure
|
* @up: Pointer to UART port structure
|
||||||
* @flags: The saved interrupt flags for restore
|
* @flags: The saved interrupt flags for restore
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue