]> err.no Git - linux-2.6/blobdiff - drivers/virtio/virtio.c
Merge branch 'slab-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm
[linux-2.6] / drivers / virtio / virtio.c
index 7dddb1860936a1c35066cd08596d67f3d46501f8..b535483bc556f5f153eb434583c8dc6593377164 100644 (file)
@@ -162,4 +162,12 @@ static int virtio_init(void)
                panic("virtio bus registration failed");
        return 0;
 }
+
+static void __exit virtio_exit(void)
+{
+       bus_unregister(&virtio_bus);
+}
 core_initcall(virtio_init);
+module_exit(virtio_exit);
+
+MODULE_LICENSE("GPL");