summaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2012-04-14 22:51:33 +0200
committermalc <av1474@comtv.ru>2012-04-15 08:56:58 +0400
commitda12872a0973718997c00f1c1e8e5b91ee4c713a (patch)
tree9ff7fe7c89ab8ae5f8468383fbce49578a80ec63 /arch_init.c
parent2ad596079ecc9b379bcd253157bd0c911058e0e1 (diff)
downloadqemu-da12872a0973718997c00f1c1e8e5b91ee4c713a.tar.gz
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 <av1474@comtv.ru> Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Herv? Poussineau <hpoussin@reactos.org> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c2
1 files changed, 1 insertions, 1 deletions
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",