summaryrefslogtreecommitdiffstats
path: root/hw/devices.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-12 12:33:04 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-12 12:33:04 +0100
commit22d83b140e7b2dda555b7e3035050454f8764b7f (patch)
treeb80cd7f2cbae7951323871218db3772dd8b3b8c7 /hw/devices.h
parent0d9acba8fddbf970c7353083e6a60b47017ce3e4 (diff)
downloadhqemu-22d83b140e7b2dda555b7e3035050454f8764b7f.zip
hqemu-22d83b140e7b2dda555b7e3035050454f8764b7f.tar.gz
Push AUD_init down to devices
Now we can safely call AUD_init multiple times we can push it down to individual audio devices, rather than having to pass it from the board init. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/devices.h')
-rw-r--r--hw/devices.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/devices.h b/hw/devices.h
index 4d4a489..7bf3063 100644
--- a/hw/devices.h
+++ b/hw/devices.h
@@ -17,9 +17,8 @@ void ads7846_write(void *opaque, uint32_t value);
ADS7846State *ads7846_init(qemu_irq penirq);
/* tsc210x.c */
-uWireSlave *tsc2102_init(qemu_irq pint, AudioState *audio);
-uWireSlave *tsc2301_init(qemu_irq penirq, qemu_irq kbirq,
- qemu_irq dav, AudioState *audio);
+uWireSlave *tsc2102_init(qemu_irq pint);
+uWireSlave *tsc2301_init(qemu_irq penirq, qemu_irq kbirq, qemu_irq dav);
I2SCodec *tsc210x_codec(uWireSlave *chip);
uint32_t tsc210x_txrx(void *opaque, uint32_t value, int len);
void tsc210x_set_transform(uWireSlave *chip,
OpenPOWER on IntegriCloud