summaryrefslogtreecommitdiffstats
path: root/hw/nseries.c
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/nseries.c
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/nseries.c')
-rw-r--r--hw/nseries.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nseries.c b/hw/nseries.c
index 55df20e..8f90d53 100644
--- a/hw/nseries.c
+++ b/hw/nseries.c
@@ -252,7 +252,7 @@ static void n800_tsc_kbd_setup(struct n800_s *s)
qemu_irq kbirq = omap2_gpio_in_get(s->cpu->gpif, N800_TSC_KP_IRQ_GPIO)[0];
qemu_irq dav = omap2_gpio_in_get(s->cpu->gpif, N800_TSC_TS_GPIO)[0];
- s->ts.chip = tsc2301_init(penirq, kbirq, dav, 0);
+ s->ts.chip = tsc2301_init(penirq, kbirq, dav);
s->ts.opaque = s->ts.chip->opaque;
s->ts.txrx = tsc210x_txrx;
OpenPOWER on IntegriCloud