From: Hervé Poussineau Date: Sat, 14 Apr 2012 20:51:33 +0000 (+0200) Subject: pcspk: initialize PC speaker if compiled in X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=da12872a0973718997c00f1c1e8e5b91ee4c713a;p=qemu.git pcspk: initialize PC speaker if compiled in PC speaker has been moved to target-independant code in 71093711589dafcb920dc3bc9bb811eaf8b14101, so do not depend of target to include it or not. Cc: malc Cc: Blue Swirl Signed-off-by: Herv? Poussineau Signed-off-by: malc --- diff --git a/arch_init.c b/arch_init.c index 595badf50f..9a35aeea30 100644 --- a/arch_init.c +++ b/arch_init.c @@ -475,7 +475,7 @@ struct soundhw { static struct soundhw soundhw[] = { #ifdef HAS_AUDIO_CHOICE -#if defined(TARGET_I386) || defined(TARGET_MIPS) +#ifdef CONFIG_PCSPK { "pcspk", "PC speaker",