diff options
Diffstat (limited to 'hw/usb-wacom.c')
-rw-r--r-- | hw/usb-wacom.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/usb-wacom.c b/hw/usb-wacom.c index 14de14d5f7..6504e5ef5d 100644 --- a/hw/usb-wacom.c +++ b/hw/usb-wacom.c @@ -373,9 +373,10 @@ static TypeInfo wacom_info = { .class_init = usb_wacom_class_init, }; -static void usb_wacom_register_devices(void) +static void usb_wacom_register_types(void) { type_register_static(&wacom_info); usb_legacy_register("usb-wacom-tablet", "wacom-tablet", NULL); } -device_init(usb_wacom_register_devices) + +type_init(usb_wacom_register_types) |