aboutsummaryrefslogtreecommitdiff
path: root/hw/msix.h
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 /hw/msix.h
parent393a98924eb00df76231384b86652e1d5f964d67 (diff)
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>
Diffstat (limited to 'hw/msix.h')
-rw-r--r--hw/msix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/msix.h b/hw/msix.h
index e5a488df0c..4a17f94540 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);