aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/dev-wacom.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/dev-wacom.c')
-rw-r--r--hw/usb/dev-wacom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/usb/dev-wacom.c b/hw/usb/dev-wacom.c
index e2dae6a86d..85c4d827bf 100644
--- a/hw/usb/dev-wacom.c
+++ b/hw/usb/dev-wacom.c
@@ -56,7 +56,8 @@ struct USBWacomState {
typedef struct USBWacomState USBWacomState;
#define TYPE_USB_WACOM "usb-wacom-tablet"
-#define USB_WACOM(obj) OBJECT_CHECK(USBWacomState, (obj), TYPE_USB_WACOM)
+DECLARE_INSTANCE_CHECKER(USBWacomState, USB_WACOM,
+ TYPE_USB_WACOM)
enum {
STR_MANUFACTURER = 1,