diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-05-09 16:35:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-05-09 16:35:21 +0000 |
commit | 987e220586dc65ee7d10f38c4ebc17e5f8314d4f (patch) | |
tree | 9c752fb494d53db050eddb888694b0a648d41ec0 /sys/arch/hp300/dev | |
parent | e75d6f81d9ccc654cb8375f3756f843856272ccc (diff) |
Compile without option WSDISPLAY_COMPAT_RAWKBD
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r-- | sys/arch/hp300/dev/dnkbd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/dnkbd.c b/sys/arch/hp300/dev/dnkbd.c index 38003dd8819..ac67014e4eb 100644 --- a/sys/arch/hp300/dev/dnkbd.c +++ b/sys/arch/hp300/dev/dnkbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dnkbd.c,v 1.6 2005/04/25 13:22:14 miod Exp $ */ +/* $OpenBSD: dnkbd.c,v 1.7 2005/05/09 16:35:20 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -804,7 +804,9 @@ dnkbd_set_leds(void *v, int leds) int dnkbd_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) { +#ifdef WSDISPLAY_COMPAT_RAWKBD struct dnkbd_softc *sc = v; +#endif switch (cmd) { case WSKBDIO_GTYPE: |