projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da4c58
)
tty: vcc, make globals static
author
Jiri Slaby
<jslaby@suse.cz>
Tue, 2 Mar 2021 06:21:55 +0000
(07:21 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:08 +0000
(09:34 +0100)
These are used only in this unit, so make them static.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link:
https://lore.kernel.org/r/20210302062214.29627-25-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vcc.c
patch
|
blob
|
history
diff --git
a/drivers/tty/vcc.c
b/drivers/tty/vcc.c
index e2d6205f83ce1794aeb7fea4c0f4b844ea7ae20a..50bf9011a0c43629aa8547ba0a5170fabb81e82a 100644
(file)
--- a/
drivers/tty/vcc.c
+++ b/
drivers/tty/vcc.c
@@
-66,9
+66,9
@@
static struct tty_driver *vcc_tty_driver;
static struct vcc_port *vcc_table[VCC_MAX_PORTS];
static DEFINE_SPINLOCK(vcc_table_lock);
-int vcc_dbg;
-int vcc_dbg_ldc;
-int vcc_dbg_vio;
+
static unsigned
int vcc_dbg;
+
static unsigned
int vcc_dbg_ldc;
+
static unsigned
int vcc_dbg_vio;
module_param(vcc_dbg, uint, 0664);
module_param(vcc_dbg_ldc, uint, 0664);