aboutsummaryrefslogtreecommitdiff
path: root/hw/input/pl050.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/input/pl050.c')
-rw-r--r--hw/input/pl050.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/input/pl050.c b/hw/input/pl050.c
index ffaa72d..209cc00 100644
--- a/hw/input/pl050.c
+++ b/hw/input/pl050.c
@@ -172,9 +172,9 @@ static void pl050_realize(DeviceState *dev, Error **errp)
sysbus_init_mmio(sbd, &s->iomem);
sysbus_init_irq(sbd, &s->irq);
if (s->is_mouse) {
- s->dev = ps2_mouse_init(NULL, NULL);
+ s->dev = ps2_mouse_init();
} else {
- s->dev = ps2_kbd_init(NULL, NULL);
+ s->dev = ps2_kbd_init();
}
qdev_connect_gpio_out(DEVICE(s->dev), PS2_DEVICE_IRQ,
qdev_get_gpio_in_named(dev, "ps2-input-irq", 0));