[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/63] chardev: Rename TYPE_BRAILLE_CHARDEV to TYPE_BAUM_CHARDEV
From: |
Eduardo Habkost |
Subject: |
[PATCH 03/63] chardev: Rename TYPE_BRAILLE_CHARDEV to TYPE_BAUM_CHARDEV |
Date: |
Wed, 2 Sep 2020 18:42:11 -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>
---
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
---
chardev/baum.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/chardev/baum.c b/chardev/baum.c
index d6c9f698c1..0cae8373f4 100644
--- a/chardev/baum.c
+++ b/chardev/baum.c
@@ -104,9 +104,9 @@ struct BaumChardev {
};
typedef struct BaumChardev BaumChardev;
-#define TYPE_BRAILLE_CHARDEV "chardev-braille"
+#define TYPE_BAUM_CHARDEV "chardev-braille"
DECLARE_INSTANCE_CHECKER(BaumChardev, BAUM_CHARDEV,
- TYPE_BRAILLE_CHARDEV)
+ TYPE_BAUM_CHARDEV)
/* Let's assume NABCC by default */
enum way {
@@ -674,7 +674,7 @@ static void char_braille_class_init(ObjectClass *oc, void
*data)
}
static const TypeInfo char_braille_type_info = {
- .name = TYPE_BRAILLE_CHARDEV,
+ .name = TYPE_BAUM_CHARDEV,
.parent = TYPE_CHARDEV,
.instance_size = sizeof(BaumChardev),
.instance_finalize = char_braille_finalize,
--
2.26.2
- [PATCH 00/63] qom: Rename macros for consistency, Eduardo Habkost, 2020/09/02
- [PATCH 01/63] gpex: Fix type checking function name, Eduardo Habkost, 2020/09/02
- [PATCH 03/63] chardev: Rename TYPE_BRAILLE_CHARDEV to TYPE_BAUM_CHARDEV,
Eduardo Habkost <=
- [PATCH 02/63] chardev: Rename TYPE_CHARDEV_* to TYPE_*_CHARDEV, Eduardo Habkost, 2020/09/02
- [PATCH 04/63] chardev: Rename TYPE_MSMOUSE_CHARDEV to TYPE_MOUSE_CHARDEV, Eduardo Habkost, 2020/09/02
- [PATCH 05/63] ap-device: Rename AP_DEVICE_TYPE to TYPE_AP_DEVICE, Eduardo Habkost, 2020/09/02
- [PATCH 07/63] rdma: Rename PVRDMA_HW_NAME to TYPE_PVRDMA_DEV, Eduardo Habkost, 2020/09/02
- [PATCH 08/63] vfio: Rename VFIO_AP_DEVICE_TYPE to TYPE_VFIO_AP_DEVICE, Eduardo Habkost, 2020/09/02