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 0f41c9195e9b..df5b6b971f26 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c | |||
@@ -637,7 +637,7 @@ const static struct file_operations vhost_net_fops = { | |||
637 | }; | 637 | }; |
638 | 638 | ||
639 | static struct miscdevice vhost_net_misc = { | 639 | static struct miscdevice vhost_net_misc = { |
640 | VHOST_NET_MINOR, | 640 | MISC_DYNAMIC_MINOR, |
641 | "vhost-net", | 641 | "vhost-net", |
642 | &vhost_net_fops, | 642 | &vhost_net_fops, |
643 | }; | 643 | }; |