diff options
Diffstat (limited to 'include/qemu/object.h')
-rw-r--r-- | include/qemu/object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qemu/object.h b/include/qemu/object.h index 7d50da9078..69cc2abc66 100644 --- a/include/qemu/object.h +++ b/include/qemu/object.h @@ -71,12 +71,12 @@ typedef struct InterfaceInfo InterfaceInfo; * .instance_size = sizeof(MyDevice), * }; * - * static void my_device_module_init(void) + * static void my_device_register_types(void) * { * type_register_static(&my_device_info); * } * - * device_init(my_device_module_init); + * type_init(my_device_register_types) * </programlisting> * </example> * |