audio: add deprecated_register_soundhw
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 2 Jul 2020 13:25:08 +0000 (15:25 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 6 Jul 2020 15:01:11 +0000 (17:01 +0200)
commit542e0c557b2cbf6ae5f3be694638d17042388a01
tree2002d115540b54a99d687bc48f7cc49c30f54669
parent3af87d91692e12d8abe85a3e8ada5d652c932490
audio: add deprecated_register_soundhw

Add helper function for -soundhw deprecation.  It can replace the
simple init functions which just call {isa,pci}_create_simple()
with a hardcoded type.  It also prints a deprecation message.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-4-kraxel@redhat.com
hw/audio/soundhw.c
include/hw/audio/soundhw.h