From: Lee Jones Date: Thu, 20 May 2021 12:19:06 +0000 (+0100) Subject: tty: serial: xilinx_uartps: Fix documentation for cdns_uart_clk_notifier_cb() X-Git-Tag: accepted/tizen/unified/20230118.172025~6888^2~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b50155c65c579c3ad6e73010e400e9ea7b15860a;p=platform%2Fkernel%2Flinux-rpi.git tty: serial: xilinx_uartps: Fix documentation for cdns_uart_clk_notifier_cb() Fixes the following W=1 kernel build warning(s): drivers/tty/serial/xilinx_uartps.c:496: warning: expecting prototype for cdns_uart_clk_notitifer_cb(). Prototype was for cdns_uart_clk_notifier_cb() instead Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Michal Simek Cc: linux-serial@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Reviewed-by: Michal Simek Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20210520121906.3468725-12-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 9bca52f..bafdf75 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -484,7 +484,7 @@ static unsigned int cdns_uart_set_baud_rate(struct uart_port *port, #ifdef CONFIG_COMMON_CLK /** - * cdns_uart_clk_notitifer_cb - Clock notifier callback + * cdns_uart_clk_notifier_cb - Clock notifier callback * @nb: Notifier block * @event: Notify event * @data: Notifier data