audio: rework pcspk_init()
commit525d654d7a113e24e5c4efc21e6f2f8c952d21d9
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 2 Jul 2020 13:25:20 +0000 (2 15:25 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 6 Jul 2020 15:01:11 +0000 (6 17:01 +0200)
tree7a15f061600705dc9b948a72d44a00752dabf73b
parentdea1fb887c37f163891fb18313403a07752948d8
audio: rework pcspk_init()

Instead of creating and returning the pc speaker accept it as argument.
That allows to rework the initialization workflow in followup patches.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-16-kraxel@redhat.com
hw/i386/pc.c
hw/isa/i82378.c
hw/mips/jazz.c
include/hw/audio/pcspk.h