]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/audio/pcspk: Inline pcspk_init()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 16 Oct 2023 10:12:39 +0000 (12:12 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 21:13:28 +0000 (23:13 +0200)
commit40f8214fcde40bab3ef6d1ab0b2353c7f8bc62aa
tree0a779fa08eccd417ca56f11b99741c4985179844
parent6c9dcd8760092e455f86f6afb05d87ea827da8f3
hw/audio/pcspk: Inline pcspk_init()

pcspk_init() is a legacy init function, inline and remove it.

Since the device is realized using &error_fatal, use the same
error for setting the "pit" link.

Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20231019073307.99608-1-philmd@linaro.org>
hw/i386/pc.c
hw/isa/i82378.c
hw/mips/jazz.c
include/hw/audio/pcspk.h