mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
pc: simplify passing qemu_irq
qemu_irq is already a pointer, no need to have an extra pointer level. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
e305a16510
commit
d80fe99de4
3 changed files with 7 additions and 7 deletions
|
@ -499,9 +499,9 @@ void i8042_isa_mouse_fake_event(void *opaque)
|
|||
ps2_mouse_fake_event(s->mouse);
|
||||
}
|
||||
|
||||
void i8042_setup_a20_line(ISADevice *dev, qemu_irq *a20_out)
|
||||
void i8042_setup_a20_line(ISADevice *dev, qemu_irq a20_out)
|
||||
{
|
||||
qdev_connect_gpio_out_named(DEVICE(dev), I8042_A20_LINE, 0, *a20_out);
|
||||
qdev_connect_gpio_out_named(DEVICE(dev), I8042_A20_LINE, 0, a20_out);
|
||||
}
|
||||
|
||||
static const VMStateDescription vmstate_kbd_isa = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue