diff options
author | Shannon Zhao | 2015-05-29 07:27:11 +0200 |
---|---|---|
committer | Michael Tokarev | 2015-06-03 13:21:24 +0200 |
commit | 26c8acb3f326166bf9dc60c3e8184f4b862e8451 (patch) | |
tree | cbc1195447d19705779a58bf8e9e3254eac897c1 /hw/display/tc6393xb.c | |
parent | hw/arm/nseries.c: Fix misusing qemu_allocate_irqs for single irq (diff) | |
download | qemu-26c8acb3f326166bf9dc60c3e8184f4b862e8451.tar.gz qemu-26c8acb3f326166bf9dc60c3e8184f4b862e8451.tar.xz qemu-26c8acb3f326166bf9dc60c3e8184f4b862e8451.zip |
hw/display/tc6393xb.c: Fix misusing qemu_allocate_irqs for single irq
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/display/tc6393xb.c')
-rw-r--r-- | hw/display/tc6393xb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/tc6393xb.c b/hw/display/tc6393xb.c index 66b7ade8da..f5f3f3e69d 100644 --- a/hw/display/tc6393xb.c +++ b/hw/display/tc6393xb.c @@ -571,7 +571,7 @@ TC6393xbState *tc6393xb_init(MemoryRegion *sysmem, uint32_t base, qemu_irq irq) s->irq = irq; s->gpio_in = qemu_allocate_irqs(tc6393xb_gpio_set, s, TC6393XB_GPIOS); - s->l3v = *qemu_allocate_irqs(tc6393xb_l3v, s, 1); + s->l3v = qemu_allocate_irq(tc6393xb_l3v, s, 0); s->blanked = 1; s->sub_irqs = qemu_allocate_irqs(tc6393xb_sub_irq, s, TC6393XB_NR_IRQS); |