This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20200902224311.1321159-6-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
28 lines
612 B
C
28 lines
612 B
C
/*
|
|
* Adjunct Processor (AP) matrix device interfaces
|
|
*
|
|
* Copyright 2018 IBM Corp.
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or (at
|
|
* your option) any later version. See the COPYING file in the top-level
|
|
* directory.
|
|
*/
|
|
|
|
#ifndef HW_S390X_AP_DEVICE_H
|
|
#define HW_S390X_AP_DEVICE_H
|
|
|
|
#include "hw/qdev-core.h"
|
|
#include "qom/object.h"
|
|
|
|
#define TYPE_AP_DEVICE "ap-device"
|
|
|
|
struct APDevice {
|
|
DeviceState parent_obj;
|
|
};
|
|
typedef struct APDevice APDevice;
|
|
|
|
DECLARE_INSTANCE_CHECKER(APDevice, AP_DEVICE,
|
|
TYPE_AP_DEVICE)
|
|
|
|
#endif /* HW_S390X_AP_DEVICE_H */
|