summary refs log tree commit diff stats
path: root/hw/i82378.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i82378.c')
-rw-r--r--hw/i82378.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i82378.c b/hw/i82378.c
index cc415649d4..faad1a365b 100644
--- a/hw/i82378.c
+++ b/hw/i82378.c
@@ -20,6 +20,7 @@
 #include "pci.h"
 #include "pc.h"
 #include "i8254.h"
+#include "pcspk.h"
 
 //#define DEBUG_I82378
 
@@ -195,7 +196,7 @@ static void i82378_init(DeviceState *dev, I82378State *s)
     pit = pit_init(isabus, 0x40, 0, NULL);
 
     /* speaker */
-    pcspk_init(pit);
+    pcspk_init(isabus, pit);
 
     /* 2 82C37 (dma) */
     DMA_init(1, &s->out[1]);