summaryrefslogtreecommitdiff
path: root/sys/dev/usb/input
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2016-10-03 17:20:34 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2016-10-03 17:20:34 +0000
commit5163e77faddb12c6c0485c3a407a8952174d22d4 (patch)
tree363bf6aad620cca9b030b8a210c2265a900bff16 /sys/dev/usb/input
parent18f555023a76ba52e7a20eabc9553ef6d20a9f4e (diff)
Notes
Diffstat (limited to 'sys/dev/usb/input')
-rw-r--r--sys/dev/usb/input/ukbd.c2
-rw-r--r--sys/dev/usb/input/ums.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/input/ukbd.c b/sys/dev/usb/input/ukbd.c
index 893d46b7e0da..8e1eb23522a2 100644
--- a/sys/dev/usb/input/ukbd.c
+++ b/sys/dev/usb/input/ukbd.c
@@ -364,7 +364,7 @@ static device_detach_t ukbd_detach;
static device_resume_t ukbd_resume;
#ifdef EVDEV_SUPPORT
-static struct evdev_methods ukbd_evdev_methods = {
+static const struct evdev_methods ukbd_evdev_methods = {
.ev_event = evdev_ev_kbd_event,
};
#endif
diff --git a/sys/dev/usb/input/ums.c b/sys/dev/usb/input/ums.c
index dc7d37786aa3..4d60517e1b50 100644
--- a/sys/dev/usb/input/ums.c
+++ b/sys/dev/usb/input/ums.c
@@ -191,7 +191,7 @@ static struct usb_fifo_methods ums_fifo_methods = {
};
#ifdef EVDEV_SUPPORT
-static struct evdev_methods ums_evdev_methods = {
+static const struct evdev_methods ums_evdev_methods = {
.ev_open = &ums_ev_open,
.ev_close = &ums_ev_close,
};