diff options
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r-- | drivers/vhost/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 2406377a6e5e..57a593c58cf4 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c | |||
@@ -645,7 +645,7 @@ const static struct file_operations vhost_net_fops = { | |||
645 | }; | 645 | }; |
646 | 646 | ||
647 | static struct miscdevice vhost_net_misc = { | 647 | static struct miscdevice vhost_net_misc = { |
648 | VHOST_NET_MINOR, | 648 | MISC_DYNAMIC_MINOR, |
649 | "vhost-net", | 649 | "vhost-net", |
650 | &vhost_net_fops, | 650 | &vhost_net_fops, |
651 | }; | 651 | }; |