diff options
Diffstat (limited to 'chardev/char-ringbuf.c')
-rw-r--r-- | chardev/char-ringbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chardev/char-ringbuf.c b/chardev/char-ringbuf.c index 301a5d8634..d40d21d3cf 100644 --- a/chardev/char-ringbuf.c +++ b/chardev/char-ringbuf.c @@ -42,8 +42,8 @@ struct RingBufChardev { }; typedef struct RingBufChardev RingBufChardev; -#define RINGBUF_CHARDEV(obj) \ - OBJECT_CHECK(RingBufChardev, (obj), TYPE_CHARDEV_RINGBUF) +DECLARE_INSTANCE_CHECKER(RingBufChardev, RINGBUF_CHARDEV, + TYPE_CHARDEV_RINGBUF) static size_t ringbuf_count(const Chardev *chr) { |