mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
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>
This commit is contained in:
parent
1ff5adfa5b
commit
755cfed007
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user