aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-04-08 02:43:59 -0400
committerRusty Russell <rusty@rustcorp.com.au>2013-04-08 09:30:26 -0400
commit3826835ab8bb7eac47f14f279df2bd58ec2bb279 (patch)
tree79e4f25b5c6140cfd043ffc6a5124b9a10b227e9
parent1aef76e9c4c616c91233ece9850e89c91f3fd92a (diff)
virtio_console: make local symbols static
Those symbols only used within this file, and should be static. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--drivers/char/virtio_console.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 6d59f166e0e9..f4f31fe88902 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -78,8 +78,8 @@ struct ports_driver_data {
78}; 78};
79static struct ports_driver_data pdrvdata; 79static struct ports_driver_data pdrvdata;
80 80
81DEFINE_SPINLOCK(pdrvdata_lock); 81static DEFINE_SPINLOCK(pdrvdata_lock);
82DECLARE_COMPLETION(early_console_added); 82static DECLARE_COMPLETION(early_console_added);
83 83
84/* This struct holds information that's relevant only for console ports */ 84/* This struct holds information that's relevant only for console ports */
85struct console { 85struct console {
@@ -1198,7 +1198,7 @@ int __init virtio_cons_early_init(int (*put_chars)(u32, const char *, int))
1198 return hvc_instantiate(0, 0, &hv_ops); 1198 return hvc_instantiate(0, 0, &hv_ops);
1199} 1199}
1200 1200
1201int init_port_console(struct port *port) 1201static int init_port_console(struct port *port)
1202{ 1202{
1203 int ret; 1203 int ret;
1204 1204