From: Eduardo Habkost Date: Wed, 2 Sep 2020 22:42:28 +0000 (-0400) Subject: pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312 X-Git-Tag: v5.2.0-rc0~122^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b327066931827c71feea1f7f39a7608a6072364e;p=thirdparty%2Fqemu.git pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312 This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost Reviewed-by: Hervé Poussineau Message-Id: <20200902224311.1321159-21-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost --- diff --git a/hw/isa/pc87312.c b/hw/isa/pc87312.c index 0cacbbc91b1..8d7b8d3db2b 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, diff --git a/include/hw/isa/pc87312.h b/include/hw/isa/pc87312.h index a65168a1577..da8dc5ddf58 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 >*/