diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-09-10 13:44:47 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-09-29 11:40:28 +0200 |
commit | 5433af7697ba97531d97e16e721cfe8a90722198 (patch) | |
tree | c0249d5dd7c856e3b07cb80b064ffa7f729b77fd /hw/watchdog/wdt_imx2.c | |
parent | 7089977a24133b3b1dd0864f4138efe3b906af4b (diff) |
watchdog: remove -watchdog option
This was deprecated in 6.2 and is ready to go. It removes quite a bit
of code that handled the registration of watchdog models.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/watchdog/wdt_imx2.c')
-rw-r--r-- | hw/watchdog/wdt_imx2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/watchdog/wdt_imx2.c b/hw/watchdog/wdt_imx2.c index c3128370b5..e776a2fbd4 100644 --- a/hw/watchdog/wdt_imx2.c +++ b/hw/watchdog/wdt_imx2.c @@ -291,14 +291,8 @@ static const TypeInfo imx2_wdt_info = { .class_init = imx2_wdt_class_init, }; -static WatchdogTimerModel model = { - .wdt_name = "imx2-watchdog", - .wdt_description = "i.MX2 Watchdog", -}; - static void imx2_wdt_register_type(void) { - watchdog_add_model(&model); type_register_static(&imx2_wdt_info); } type_init(imx2_wdt_register_type) |