From 118f2c2b48b9758a3a2967868b337eb388d1531b Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Wed, 13 Jun 2012 22:52:06 -0600 Subject: [PATCH] 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 Signed-off-by: Michael S. Tsirkin --- hw/msix.h | 3 +-- 1 file changed, 1 insertion(+), 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); -- 2.7.4