]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: Move uart_change_speed() earlier
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 9 Mar 2023 08:09:19 +0000 (10:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Oct 2023 10:03:08 +0000 (12:03 +0200)
commite4df8000bdd36b1310e82ae3e59acb29564610b6
tree9610fc6bc5362c82429ff2b0d16cb0990b19ce9a
parent4d382ba65ddb627cbf59fc8d1e36031375f642b9
serial: Move uart_change_speed() earlier

[ Upstream commit 8e90cf29aef77b59ed6a6f6466add2af79621f26 ]

Move uart_change_speed() earlier to get rid of its forward declaration.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230309080923.11778-5-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 8679328eb859 ("serial: Reduce spinlocked portion of uart_rs485_config()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/serial_core.c