aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2012-06-13 22:52:06 -0600
committerMichael S. Tsirkin <mst@robin.(none)>2012-06-18 10:21:04 +0300
commit118f2c2b48b9758a3a2967868b337eb388d1531b (patch)
tree64d6b2cc91b314f284060e078af89d8c2f3bc825
parent393a98924eb00df76231384b86652e1d5f964d67 (diff)
downloadqemu-118f2c2b48b9758a3a2967868b337eb388d1531b.zip
qemu-118f2c2b48b9758a3a2967868b337eb388d1531b.tar.gz
qemu-118f2c2b48b9758a3a2967868b337eb388d1531b.tar.bz2
msix: fix PCIDevice naming inconsistency
msix.h calls the PCIDevice * parameter "dev" almost everywhere except the msix_write_config declaration. Fix the inconsistency. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/msix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/msix.h b/hw/msix.h
index e5a488d..4a17f94 100644
--- a/hw/msix.h
+++ b/hw/msix.h
@@ -8,8 +8,7 @@ int msix_init(PCIDevice *pdev, unsigned short nentries,
MemoryRegion *bar,
unsigned bar_nr, unsigned bar_size);
-void msix_write_config(PCIDevice *pci_dev, uint32_t address,
- uint32_t val, int len);
+void msix_write_config(PCIDevice *dev, uint32_t address, uint32_t val, int len);
int msix_uninit(PCIDevice *d, MemoryRegion *bar);