]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
pcspk: initialize PC speaker if compiled in
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 14 Apr 2012 20:51:33 +0000 (22:51 +0200)
committermalc <av1474@comtv.ru>
Sun, 15 Apr 2012 04:56:58 +0000 (08:56 +0400)
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>
arch_init.c

index 595badf50ffc52af29d66ffa06a7354f3aaa620a..9a35aeea30da0fc8bede3b82b391f93188961bc5 100644 (file)
@@ -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",