diff options
author | Eduardo Habkost | 2020-09-03 00:43:03 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-09-09 19:20:22 +0200 |
commit | 01b4606440978e7c83082c1ebe4a811e3b1d8e83 (patch) | |
tree | 1b50a1a80a827a34e6d8e1934add32696aa7d84d /hw/vfio/pci.h | |
parent | usb: Rename USB_SERIAL_DEV to USB_SERIAL (diff) | |
download | qemu-01b4606440978e7c83082c1ebe4a811e3b1d8e83.tar.gz qemu-01b4606440978e7c83082c1ebe4a811e3b1d8e83.tar.xz qemu-01b4606440978e7c83082c1ebe4a811e3b1d8e83.zip |
vfio: Rename PCI_VFIO to VFIO_PCI
Make the type checking macro name consistent with the TYPE_*
constant.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20200902224311.1321159-56-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/vfio/pci.h')
-rw-r--r-- | hw/vfio/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/pci.h b/hw/vfio/pci.h index 846d60e56c..5e53d5b863 100644 --- a/hw/vfio/pci.h +++ b/hw/vfio/pci.h @@ -116,7 +116,7 @@ typedef struct VFIOMSIXInfo { #define TYPE_VFIO_PCI "vfio-pci" typedef struct VFIOPCIDevice VFIOPCIDevice; -DECLARE_INSTANCE_CHECKER(VFIOPCIDevice, PCI_VFIO, +DECLARE_INSTANCE_CHECKER(VFIOPCIDevice, VFIO_PCI, TYPE_VFIO_PCI) struct VFIOPCIDevice { |