aboutsummaryrefslogtreecommitdiff
path: root/chardev/baum.c
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/baum.c')
-rw-r--r--chardev/baum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chardev/baum.c b/chardev/baum.c
index cb906060d9..5deca778bc 100644
--- a/chardev/baum.c
+++ b/chardev/baum.c
@@ -105,7 +105,8 @@ struct BaumChardev {
typedef struct BaumChardev BaumChardev;
#define TYPE_CHARDEV_BRAILLE "chardev-braille"
-#define BAUM_CHARDEV(obj) OBJECT_CHECK(BaumChardev, (obj), TYPE_CHARDEV_BRAILLE)
+DECLARE_INSTANCE_CHECKER(BaumChardev, BAUM_CHARDEV,
+ TYPE_CHARDEV_BRAILLE)
/* Let's assume NABCC by default */
enum way {