qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 5/6] pcspk: initialize PC speaker if compiled in


From: Hervé Poussineau
Subject: [Qemu-devel] [PATCH v2 5/6] pcspk: initialize PC speaker if compiled in
Date: Sat, 14 Apr 2012 22:51:33 +0200

PC speaker has been moved to target-independant code in 
71093711589dafcb920dc3bc9bb811eaf8b14101,
so do not depend of target to include it or not.

Cc: malc <address@hidden>
Cc: Blue Swirl <address@hidden>
Signed-off-by: Hervé Poussineau <address@hidden>
---
 arch_init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch_init.c b/arch_init.c
index 595badf..9a35aee 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",
-- 
1.7.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]