summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-10-31 10:29:34 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-10-31 10:29:34 +0000
commitc6ac2552e8f58e6e45c8dfa68c6c15b93be8cb05 (patch)
tree7319740f2b42d6f895f8f85ab6b58494cb76c2f1 /sys/arch
parent9959f5790456d84c75346cc71611363b0e3019a7 (diff)
remove a duplicate pckbdvar.h include under NGSCKBD > 0
gsckbd was removed back in 2008 so this was never defined.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/gsc/gsckbc.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/hppa/gsc/gsckbc.c b/sys/arch/hppa/gsc/gsckbc.c
index 96a3c4b8429..b8eff13e8a8 100644
--- a/sys/arch/hppa/gsc/gsckbc.c
+++ b/sys/arch/hppa/gsc/gsckbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gsckbc.c,v 1.17 2013/05/23 18:29:51 tobias Exp $ */
+/* $OpenBSD: gsckbc.c,v 1.18 2014/10/31 10:29:33 jsg Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -69,6 +69,8 @@
* they are driven by a custom chip not 8042-compatible.
*/
+#include "pckbd.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
@@ -111,11 +113,6 @@ struct cfdriver gsckbc_cd = {
void gsckbc_intr_establish(struct pckbc_softc *, pckbc_slot_t);
-#include "pckbd.h"
-#if (NGSCKBD > 0)
-#include <dev/pckbc/pckbdvar.h>
-#endif
-
/* descriptor for one device command */
struct pckbc_devcmd {
TAILQ_ENTRY(pckbc_devcmd) next;