diff options
Diffstat (limited to 'hw/kvm/clock.c')
-rw-r--r-- | hw/kvm/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kvm/clock.c b/hw/kvm/clock.c index d5a5386..2157340 100644 --- a/hw/kvm/clock.c +++ b/hw/kvm/clock.c @@ -119,11 +119,11 @@ void kvmclock_create(void) } } -static void kvmclock_register_device(void) +static void kvmclock_register_types(void) { if (kvm_enabled()) { type_register_static(&kvmclock_info); } } -device_init(kvmclock_register_device); +type_init(kvmclock_register_types) |