diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-02 18:42:09 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-09 09:27:11 -0400 |
commit | 755cfed0071496687493ac09b4746be0d17327ba (patch) | |
tree | f002d5aab9d79165262d5934a9322aba304e124e /include | |
parent | 1ff5adfa5bad905e36bb7eff5e436e26793f111f (diff) | |
download | qemu-755cfed0071496687493ac09b4746be0d17327ba.zip qemu-755cfed0071496687493ac09b4746be0d17327ba.tar.gz qemu-755cfed0071496687493ac09b4746be0d17327ba.tar.bz2 |
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')
-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 e8432ec..2f4e852 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 |