diff options
Diffstat (limited to 'drivers/virtio/virtio_pci.c')
-rw-r--r-- | drivers/virtio/virtio_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index 52c5ce6aec8d..a7ce73029f59 100644 --- a/drivers/virtio/virtio_pci.c +++ b/drivers/virtio/virtio_pci.c | |||
@@ -91,9 +91,9 @@ struct virtio_pci_vq_info | |||
91 | }; | 91 | }; |
92 | 92 | ||
93 | /* Qumranet donated their vendor ID for devices 0x1000 thru 0x10FF. */ | 93 | /* Qumranet donated their vendor ID for devices 0x1000 thru 0x10FF. */ |
94 | static struct pci_device_id virtio_pci_id_table[] = { | 94 | static DEFINE_PCI_DEVICE_TABLE(virtio_pci_id_table) = { |
95 | { 0x1af4, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, | 95 | { PCI_DEVICE(0x1af4, PCI_ANY_ID) }, |
96 | { 0 }, | 96 | { 0 } |
97 | }; | 97 | }; |
98 | 98 | ||
99 | MODULE_DEVICE_TABLE(pci, virtio_pci_id_table); | 99 | MODULE_DEVICE_TABLE(pci, virtio_pci_id_table); |