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>
This commit is contained in:
parent
393a98924e
commit
118f2c2b48
@ -8,8 +8,7 @@ int msix_init(PCIDevice *pdev, unsigned short nentries,
|
|||||||
MemoryRegion *bar,
|
MemoryRegion *bar,
|
||||||
unsigned bar_nr, unsigned bar_size);
|
unsigned bar_nr, unsigned bar_size);
|
||||||
|
|
||||||
void msix_write_config(PCIDevice *pci_dev, uint32_t address,
|
void msix_write_config(PCIDevice *dev, uint32_t address, uint32_t val, int len);
|
||||||
uint32_t val, int len);
|
|
||||||
|
|
||||||
int msix_uninit(PCIDevice *d, MemoryRegion *bar);
|
int msix_uninit(PCIDevice *d, MemoryRegion *bar);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user