qemu-patch-raspberry4/include/hw/s390x/ap-device.h
Eduardo Habkost fab2afff61 ap-device: Rename AP_DEVICE_TYPE to TYPE_AP_DEVICE
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>
2020-09-09 13:20:22 -04:00

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 */