diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-23 19:21:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-23 19:21:41 +0000 |
commit | 2ac5c056f26d95ab202431479cbe56e0c28071f8 (patch) | |
tree | f95938a8cc4635e00a07669bae0c72c11ad82036 /sys/dev/usb/ukbd.c | |
parent | cda95226eb12b6c92217d2fc52a6093104f2e129 (diff) |
ukbd_rawrepeat only there if WSDISPLAY_COMPAT_RAWKBD
Diffstat (limited to 'sys/dev/usb/ukbd.c')
-rw-r--r-- | sys/dev/usb/ukbd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c index d0e4170d128..63fd7adb16e 100644 --- a/sys/dev/usb/ukbd.c +++ b/sys/dev/usb/ukbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ukbd.c,v 1.37 2007/11/23 15:43:02 mbalmer Exp $ */ +/* $OpenBSD: ukbd.c,v 1.38 2007/11/23 19:21:40 deraadt Exp $ */ /* $NetBSD: ukbd.c,v 1.85 2003/03/11 16:44:00 augustss Exp $ */ /* @@ -453,7 +453,9 @@ ukbd_attach(struct device *parent, struct device *self, void *aux) a.accessops = &ukbd_accessops; a.accesscookie = sc; +#ifdef WSDISPLAY_COMPAT_RAWKBD timeout_set(&sc->sc_rawrepeat_ch, ukbd_rawrepeat, sc); +#endif timeout_set(&sc->sc_delay, ukbd_delayed_decode, sc); /* Flash the leds; no real purpose, just shows we're alive. */ |