Commit 8b026d63 authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman

serial: icom: make icom_acfg_baud const and unsigned

The baud rates are unsigned constants. So mark them as such.

Not only it makes sense, but they are passed also to
uart_get_baud_rate() and that expects unsigned int as baud rates on
input.
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220421085808.24152-8-jslaby@suse.czSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 05ef2f3d
......@@ -47,7 +47,7 @@
#define ICOM_DRIVER_NAME "icom"
#define NR_PORTS 128
static int icom_acfg_baud[] = {
static const unsigned int icom_acfg_baud[] = {
300,
600,
900,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment