Skip to content

Commit 5ff1611

Browse files
herbertxmstsirkin
authored andcommitted
virtio_pci: restore module attributes
When the virtio_pci driver was moved into virtio_pci_legacy.c the module licence and other attributes went AWOL. This patch restores them. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 8a38f33 commit 5ff1611

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎drivers/virtio/virtio_pci_common.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,3 +494,8 @@ static struct pci_driver virtio_pci_driver = {
494494
};
495495

496496
module_pci_driver(virtio_pci_driver);
497+
498+
MODULE_AUTHOR("Anthony Liguori <aliguori@us.ibm.com>");
499+
MODULE_DESCRIPTION("virtio-pci");
500+
MODULE_LICENSE("GPL");
501+
MODULE_VERSION("1");

0 commit comments

Comments
 (0)