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 595badf..9a35aee 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",