diff options
author | Gerd Hoffmann | 2020-07-02 15:25:11 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2020-07-06 17:01:11 +0200 |
commit | 86388a3bfc30e49e439eb700ac6a2d189c110de7 (patch) | |
tree | a960f30c0d5ba2cf52745e53003e65b177d4230f /hw/audio | |
parent | audio: deprecate -soundhw es1370 (diff) | |
download | qemu-86388a3bfc30e49e439eb700ac6a2d189c110de7.tar.gz qemu-86388a3bfc30e49e439eb700ac6a2d189c110de7.tar.xz qemu-86388a3bfc30e49e439eb700ac6a2d189c110de7.zip |
audio: deprecate -soundhw adlib
Switch to deprecated_register_soundhw().
Remove the now obsolete init function.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-7-kraxel@redhat.com
Diffstat (limited to 'hw/audio')
-rw-r--r-- | hw/audio/adlib.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/hw/audio/adlib.c b/hw/audio/adlib.c index 7c3b67dcfb..65dff5b6fc 100644 --- a/hw/audio/adlib.c +++ b/hw/audio/adlib.c @@ -319,16 +319,10 @@ static const TypeInfo adlib_info = { .class_init = adlib_class_initfn, }; -static int Adlib_init (ISABus *bus) -{ - isa_create_simple (bus, TYPE_ADLIB); - return 0; -} - static void adlib_register_types (void) { type_register_static (&adlib_info); - isa_register_soundhw("adlib", ADLIB_DESC, Adlib_init); + deprecated_register_soundhw("adlib", ADLIB_DESC, 1, TYPE_ADLIB); } type_init (adlib_register_types) |