aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virtio')
-rw-r--r--drivers/virtio/virtio_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c
index 193c8f0e5cc5..bcec78ffc765 100644
--- a/drivers/virtio/virtio_pci.c
+++ b/drivers/virtio/virtio_pci.c
@@ -669,7 +669,7 @@ static int __init virtio_pci_init(void)
669 669
670 err = pci_register_driver(&virtio_pci_driver); 670 err = pci_register_driver(&virtio_pci_driver);
671 if (err) 671 if (err)
672 device_unregister(virtio_pci_root); 672 root_device_unregister(virtio_pci_root);
673 673
674 return err; 674 return err;
675} 675}