[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 26/27] pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312
From: |
Eduardo Habkost |
Subject: |
[PULL 26/27] pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312 |
Date: |
Thu, 3 Sep 2020 16:52:46 -0400 |
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: Hervé Poussineau <hpoussin@reactos.org>
Message-Id: <20200902224311.1321159-21-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
include/hw/isa/pc87312.h | 4 ++--
hw/isa/pc87312.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/hw/isa/pc87312.h b/include/hw/isa/pc87312.h
index a65168a157..da8dc5ddf5 100644
--- a/include/hw/isa/pc87312.h
+++ b/include/hw/isa/pc87312.h
@@ -29,10 +29,10 @@
#include "qom/object.h"
-#define TYPE_PC87312_SUPERIO "pc87312"
+#define TYPE_PC87312 "pc87312"
typedef struct PC87312State PC87312State;
DECLARE_INSTANCE_CHECKER(PC87312State, PC87312,
- TYPE_PC87312_SUPERIO)
+ TYPE_PC87312)
struct PC87312State {
/*< private >*/
diff --git a/hw/isa/pc87312.c b/hw/isa/pc87312.c
index 0cacbbc91b..8d7b8d3db2 100644
--- a/hw/isa/pc87312.c
+++ b/hw/isa/pc87312.c
@@ -371,7 +371,7 @@ static void pc87312_class_init(ObjectClass *klass, void
*data)
}
static const TypeInfo pc87312_type_info = {
- .name = TYPE_PC87312_SUPERIO,
+ .name = TYPE_PC87312,
.parent = TYPE_ISA_SUPERIO,
.instance_size = sizeof(PC87312State),
.instance_init = pc87312_initfn,
--
2.26.2
- [PULL 10/27] Use DECLARE_*CHECKER* when possible (--force mode), (continued)
- [PULL 10/27] Use DECLARE_*CHECKER* when possible (--force mode), Eduardo Habkost, 2020/09/03
- [PULL 12/27] Use OBJECT_DECLARE_SIMPLE_TYPE when possible, Eduardo Habkost, 2020/09/03
- [PULL 13/27] gpex: Fix type checking function name, Eduardo Habkost, 2020/09/03
- [PULL 09/27] Use DECLARE_*CHECKER* macros, Eduardo Habkost, 2020/09/03
- [PULL 16/27] dev-smartcard-reader: Rename CCID_DEV_NAME to TYPE_USB_CCID_DEV, Eduardo Habkost, 2020/09/03
- [PULL 14/27] chardev: Rename TYPE_CHARDEV_* to TYPE_*_CHARDEV, Eduardo Habkost, 2020/09/03
- [PULL 11/27] Use OBJECT_DECLARE_TYPE where possible, Eduardo Habkost, 2020/09/03
- [PULL 18/27] vmgenid: Rename VMGENID_DEVICE to TYPE_VMGENID, Eduardo Habkost, 2020/09/03
- [PULL 21/27] filter-rewriter: Rename FILTER_COLO_REWRITER to FILTER_REWRITER, Eduardo Habkost, 2020/09/03
- [PULL 24/27] usb: Rename USB_SERIAL_DEV to USB_SERIAL, Eduardo Habkost, 2020/09/03
- [PULL 26/27] pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312,
Eduardo Habkost <=
- [PULL 19/27] ahci: Rename ICH_AHCI to ICH9_AHCI, Eduardo Habkost, 2020/09/03
- [PULL 15/27] ap-device: Rename AP_DEVICE_TYPE to TYPE_AP_DEVICE, Eduardo Habkost, 2020/09/03
- [PULL 17/27] vfio: Rename VFIO_AP_DEVICE_TYPE to TYPE_VFIO_AP_DEVICE, Eduardo Habkost, 2020/09/03
- [PULL 20/27] esp: Rename ESP_STATE to ESP, Eduardo Habkost, 2020/09/03
- [PULL 22/27] rs6000_mc: Rename RS6000MC_DEVICE to RS6000MC, Eduardo Habkost, 2020/09/03
- [PULL 27/27] tusb6010: Rename TUSB to TUSB6010, Eduardo Habkost, 2020/09/03
- [PULL 23/27] sabre: Rename SABRE_DEVICE to SABRE, Eduardo Habkost, 2020/09/03
- [PULL 25/27] vfio: Rename PCI_VFIO to VFIO_PCI, Eduardo Habkost, 2020/09/03
- [PULL 08/27] Move QOM typedefs and add missing includes, Eduardo Habkost, 2020/09/03
- Re: [PULL 00/27] QOM boilerplate cleanup, Peter Maydell, 2020/09/05