aboutsummaryrefslogtreecommitdiff
path: root/hw/pcspk.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-02-13 19:54:40 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-02-20 09:35:06 +0000
commit64d7e9a421fea0ac50b44541f5521de455e7cd5d (patch)
treee450cd7fd595ef79315ad131dd1d009b81935c69 /hw/pcspk.c
parentc74b88dffcb2ebfe018e460ac759ae8b1234911d (diff)
i8254: convert to qdev
Convert to qdev. Don't expose PITState. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pcspk.c')
-rw-r--r--hw/pcspk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pcspk.c b/hw/pcspk.c
index 26a0ecb9df..5f02908dac 100644
--- a/hw/pcspk.c
+++ b/hw/pcspk.c
@@ -37,7 +37,7 @@ typedef struct {
uint8_t sample_buf[PCSPK_BUF_LEN];
QEMUSoundCard card;
SWVoiceOut *voice;
- PITState *pit;
+ ISADevice *pit;
unsigned int pit_count;
unsigned int samples;
unsigned int play_pos;
@@ -137,7 +137,7 @@ static void pcspk_ioport_write(void *opaque, uint32_t addr, uint32_t val)
}
}
-void pcspk_init(PITState *pit)
+void pcspk_init(ISADevice *pit)
{
PCSpkState *s = &pcspk_state;