Revision 7267c094 hw/tc6393xb.c
b/hw/tc6393xb.c | ||
---|---|---|
579 | 579 |
tc6393xb_writel, |
580 | 580 |
}; |
581 | 581 |
|
582 |
s = (TC6393xbState *) qemu_mallocz(sizeof(TC6393xbState));
|
|
582 |
s = (TC6393xbState *) g_malloc0(sizeof(TC6393xbState));
|
|
583 | 583 |
s->irq = irq; |
584 | 584 |
s->gpio_in = qemu_allocate_irqs(tc6393xb_gpio_set, s, TC6393XB_GPIOS); |
585 | 585 |
|
Also available in: Unified diff