This will make the type name constant consistent with the name of
the type checking macro.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
---
chardev/msmouse.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/chardev/msmouse.c b/chardev/msmouse.c
index 4033ca714d..b39a1b85dd 100644
--- a/chardev/msmouse.c
+++ b/chardev/msmouse.c
@@ -44,9 +44,9 @@ struct MouseChardev {
};
typedef struct MouseChardev MouseChardev;
-#define TYPE_MSMOUSE_CHARDEV "chardev-msmouse"
+#define TYPE_MOUSE_CHARDEV "chardev-msmouse"
DECLARE_INSTANCE_CHECKER(MouseChardev, MOUSE_CHARDEV,
- TYPE_MSMOUSE_CHARDEV)
+ TYPE_MOUSE_CHARDEV)
static void msmouse_chr_accept_input(Chardev *chr)
{
@@ -178,7 +178,7 @@ static void char_msmouse_class_init(ObjectClass *oc, void *data)
}
static const TypeInfo char_msmouse_type_info = {
- .name = TYPE_MSMOUSE_CHARDEV,
+ .name = TYPE_MOUSE_CHARDEV,
.parent = TYPE_CHARDEV,
.instance_size = sizeof(MouseChardev),
.instance_finalize = char_msmouse_finalize,
--
2.26.2