diff options
author | Eduardo Habkost | 2020-09-03 00:42:09 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-09-09 15:27:11 +0200 |
commit | 755cfed0071496687493ac09b4746be0d17327ba (patch) | |
tree | f002d5aab9d79165262d5934a9322aba304e124e /include/hw | |
parent | Use OBJECT_DECLARE_SIMPLE_TYPE when possible (diff) | |
download | qemu-755cfed0071496687493ac09b4746be0d17327ba.tar.gz qemu-755cfed0071496687493ac09b4746be0d17327ba.tar.xz qemu-755cfed0071496687493ac09b4746be0d17327ba.zip |
gpex: Fix type checking function name
This looks like a copy/paste mistake: the instance type checking
macro for TYPE_GPEX_ROOT_DEVICE was named MCH_PCI_DEVICE.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200902224311.1321159-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/pci-host/gpex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/pci-host/gpex.h b/include/hw/pci-host/gpex.h index e8432eced8..2f4e852eee 100644 --- a/include/hw/pci-host/gpex.h +++ b/include/hw/pci-host/gpex.h @@ -32,7 +32,7 @@ DECLARE_INSTANCE_CHECKER(GPEXHost, GPEX_HOST, #define TYPE_GPEX_ROOT_DEVICE "gpex-root" typedef struct GPEXRootState GPEXRootState; -DECLARE_INSTANCE_CHECKER(GPEXRootState, MCH_PCI_DEVICE, +DECLARE_INSTANCE_CHECKER(GPEXRootState, GPEX_ROOT_DEVICE, TYPE_GPEX_ROOT_DEVICE) #define GPEX_NUM_IRQS 4 |