diff options
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r-- | drivers/vhost/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 9777583218ff..aa88911c9504 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c | |||
@@ -642,7 +642,7 @@ static struct miscdevice vhost_net_misc = { | |||
642 | &vhost_net_fops, | 642 | &vhost_net_fops, |
643 | }; | 643 | }; |
644 | 644 | ||
645 | int vhost_net_init(void) | 645 | static int vhost_net_init(void) |
646 | { | 646 | { |
647 | int r = vhost_init(); | 647 | int r = vhost_init(); |
648 | if (r) | 648 | if (r) |
@@ -659,7 +659,7 @@ err_init: | |||
659 | } | 659 | } |
660 | module_init(vhost_net_init); | 660 | module_init(vhost_net_init); |
661 | 661 | ||
662 | void vhost_net_exit(void) | 662 | static void vhost_net_exit(void) |
663 | { | 663 | { |
664 | misc_deregister(&vhost_net_misc); | 664 | misc_deregister(&vhost_net_misc); |
665 | vhost_cleanup(); | 665 | vhost_cleanup(); |