diff options
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -514,11 +514,12 @@ static TypeInfo port92_info = { .class_init = port92_class_initfn, }; -static void port92_register(void) +static void port92_register_types(void) { type_register_static(&port92_info); } -device_init(port92_register) + +type_init(port92_register_types) static void handle_a20_line_change(void *opaque, int irq, int level) { |