summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-05-26 23:47:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-05-26 23:47:05 +0000
commitdedf5e463f043072206e6873d1d20006356bcdd0 (patch)
tree91ad256a6c302a17a89c4006d1e19dc7b6f71297
parent83e03b7dc02fad4fc7730156fb42ba09821d1289 (diff)
make this build with WSDISPLAY_COMPAT_RAWKBD defined
ok bmercer@
-rw-r--r--sys/arch/armv7/exynos/crosec_kbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/exynos/crosec_kbd.c b/sys/arch/armv7/exynos/crosec_kbd.c
index cc8e0151b15..1095b16aa1b 100644
--- a/sys/arch/armv7/exynos/crosec_kbd.c
+++ b/sys/arch/armv7/exynos/crosec_kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crosec_kbd.c,v 1.1 2015/01/26 02:48:24 bmercer Exp $ */
+/* $OpenBSD: crosec_kbd.c,v 1.2 2015/05/26 23:47:04 jsg Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
@@ -238,7 +238,7 @@ cros_ec_keyboard_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc
return 0;
#ifdef WSDISPLAY_COMPAT_RAWKBD
case WSKBDIO_SETMODE:
- sc->rawkbd = *(int *)data == WSKBD_RAW;
+ sc->keyboard.rawkbd = *(int *)data == WSKBD_RAW;
return (0);
#endif