Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3826835a authored by Wei Yongjun's avatar Wei Yongjun Committed by Rusty Russell
Browse files

virtio_console: make local symbols static



Those symbols only used within this file, and should be static.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 1aef76e9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -78,8 +78,8 @@ struct ports_driver_data {
};
static struct ports_driver_data pdrvdata;

DEFINE_SPINLOCK(pdrvdata_lock);
DECLARE_COMPLETION(early_console_added);
static DEFINE_SPINLOCK(pdrvdata_lock);
static DECLARE_COMPLETION(early_console_added);

/* This struct holds information that's relevant only for console ports */
struct console {
@@ -1198,7 +1198,7 @@ int __init virtio_cons_early_init(int (*put_chars)(u32, const char *, int))
	return hvc_instantiate(0, 0, &hv_ops);
}

int init_port_console(struct port *port)
static int init_port_console(struct port *port)
{
	int ret;