]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
msix: fix PCIDevice naming inconsistency
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 14 Jun 2012 04:52:06 +0000 (22:52 -0600)
committerMichael S. Tsirkin <mst@robin.(none)>
Mon, 18 Jun 2012 07:21:04 +0000 (10:21 +0300)
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>
hw/msix.h

index e5a488df0ce47b2a57b20d0de1dfbbf29c0e8c92..4a17f945408799215050db59e955082d5d1497fc 100644 (file)
--- 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);