diff options
Diffstat (limited to 'hw/pc.c')
| -rw-r--r-- | hw/pc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c index 7f3aa65d20..8d8f59bff5 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -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) { |