aboutsummaryrefslogtreecommitdiff
path: root/chardev/msmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/msmouse.c')
-rw-r--r--chardev/msmouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chardev/msmouse.c b/chardev/msmouse.c
index ab8fe981d6..a774c397b4 100644
--- a/chardev/msmouse.c
+++ b/chardev/msmouse.c
@@ -171,7 +171,7 @@ static int msmouse_chr_write(struct Chardev *s, const uint8_t *buf, int len)
return len;
}
-static QemuInputHandler msmouse_handler = {
+static const QemuInputHandler msmouse_handler = {
.name = "QEMU Microsoft Mouse",
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_REL,
.event = msmouse_input_event,