aboutsummaryrefslogtreecommitdiff
path: root/include/hw/input
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-10-17 17:06:05 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2020-01-07 17:24:29 +0400
commit0fe4bb3241110fc9fbd1c5c457d58191fcdca5d3 (patch)
treef00c8403e2d98252c7eda24d84faa5f443377e84 /include/hw/input
parent0ed40f16a17eaa3a53d62cc871779fa9d5b4447d (diff)
downloadqemu-0fe4bb3241110fc9fbd1c5c457d58191fcdca5d3.zip
qemu-0fe4bb3241110fc9fbd1c5c457d58191fcdca5d3.tar.gz
qemu-0fe4bb3241110fc9fbd1c5c457d58191fcdca5d3.tar.bz2
vmmouse: replace PROP_PTR with PROP_LINK
While at it, use the expected type. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'include/hw/input')
-rw-r--r--include/hw/input/i8042.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hw/input/i8042.h b/include/hw/input/i8042.h
index 246e6f3..8eaebf5 100644
--- a/include/hw/input/i8042.h
+++ b/include/hw/input/i8042.h
@@ -14,10 +14,12 @@
#define I8042_A20_LINE "a20"
+typedef struct ISAKBDState ISAKBDState;
+
void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq,
MemoryRegion *region, ram_addr_t size,
hwaddr mask);
-void i8042_isa_mouse_fake_event(void *opaque);
+void i8042_isa_mouse_fake_event(ISAKBDState *isa);
void i8042_setup_a20_line(ISADevice *dev, qemu_irq a20_out);
#endif /* HW_INPUT_I8042_H */