diff options
Diffstat (limited to 'drivers/virtio/virtio.c')
-rw-r--r-- | drivers/virtio/virtio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index b1877d73fa56..7062bb0975a5 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c | |||
@@ -412,6 +412,7 @@ static int virtio_init(void) | |||
412 | static void __exit virtio_exit(void) | 412 | static void __exit virtio_exit(void) |
413 | { | 413 | { |
414 | bus_unregister(&virtio_bus); | 414 | bus_unregister(&virtio_bus); |
415 | ida_destroy(&virtio_index_ida); | ||
415 | } | 416 | } |
416 | core_initcall(virtio_init); | 417 | core_initcall(virtio_init); |
417 | module_exit(virtio_exit); | 418 | module_exit(virtio_exit); |