]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_pci.h
virtio: fix overwritten driver flags
[dpdk.git] / drivers / net / virtio / virtio_pci.h
index b69785ea1b0140c5d113713eca0d56a86d9be3cc..554efea71fc663c84716d4b251d1007ca3f8451c 100644 (file)
@@ -293,7 +293,8 @@ vtpci_with_feature(struct virtio_hw *hw, uint64_t bit)
 /*
  * Function declaration from virtio_pci.c
  */
-int vtpci_init(struct rte_pci_device *, struct virtio_hw *);
+int vtpci_init(struct rte_pci_device *, struct virtio_hw *,
+              uint32_t *dev_flags);
 void vtpci_reset(struct virtio_hw *);
 
 void vtpci_reinit_complete(struct virtio_hw *);