diff options
Diffstat (limited to 'hw/ac97.c')
| -rw-r--r-- | hw/ac97.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ac97.c b/hw/ac97.c index 7bf9171487..c0fd0197a0 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -1372,9 +1372,9 @@ static TypeInfo ac97_info = { .class_init = ac97_class_init, }; -static void ac97_register (void) +static void ac97_register_types (void) { type_register_static (&ac97_info); } -device_init (ac97_register); +type_init (ac97_register_types) |