diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2012-06-13 22:52:06 -0600 |
---|---|---|
committer | Michael S. Tsirkin <mst@robin.(none)> | 2012-06-18 10:21:04 +0300 |
commit | 118f2c2b48b9758a3a2967868b337eb388d1531b (patch) | |
tree | 64d6b2cc91b314f284060e078af89d8c2f3bc825 | |
parent | 393a98924eb00df76231384b86652e1d5f964d67 (diff) | |
download | qemu-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |