qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

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

+1 -7
+1 -7
hw/audio/adlib.c
··· 319 319 .class_init = adlib_class_initfn, 320 320 }; 321 321 322 - static int Adlib_init (ISABus *bus) 323 - { 324 - isa_create_simple (bus, TYPE_ADLIB); 325 - return 0; 326 - } 327 - 328 322 static void adlib_register_types (void) 329 323 { 330 324 type_register_static (&adlib_info); 331 - isa_register_soundhw("adlib", ADLIB_DESC, Adlib_init); 325 + deprecated_register_soundhw("adlib", ADLIB_DESC, 1, TYPE_ADLIB); 332 326 } 333 327 334 328 type_init (adlib_register_types)