mirror of https://gitee.com/openkylin/linux.git
tty: vcc, make globals static
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>
This commit is contained in:
parent
0da4c58df1
commit
4c472fc02e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue