summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/eisa/devlist2h.awk4
-rw-r--r--sys/dev/eisa/eisa.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/eisa/devlist2h.awk b/sys/dev/eisa/devlist2h.awk
index 159691c7923..140ee9124c9 100644
--- a/sys/dev/eisa/devlist2h.awk
+++ b/sys/dev/eisa/devlist2h.awk
@@ -1,5 +1,5 @@
#! /usr/bin/awk -f
-# $OpenBSD: devlist2h.awk,v 1.2 1996/04/21 22:20:18 deraadt Exp $
+# $OpenBSD: devlist2h.awk,v 1.3 2001/01/26 22:23:03 mickey Exp $
# $NetBSD: devlist2h.awk,v 1.2 1996/04/09 20:07:16 cgd Exp $
#
# Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -154,7 +154,7 @@ END {
printf("\n") > dfile
- printf("struct eisa_knowndev eisa_knowndevs[] = {\n") > dfile
+ printf("static const struct eisa_knowndev eisa_knowndevs[] = {\n") > dfile
for (i = 1; i <= nproducts; i++) {
printf("\t{\n") > dfile
printf("\t 0,\n") > dfile
diff --git a/sys/dev/eisa/eisa.c b/sys/dev/eisa/eisa.c
index 6370068da23..82669bae2be 100644
--- a/sys/dev/eisa/eisa.c
+++ b/sys/dev/eisa/eisa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eisa.c,v 1.7 2000/04/14 03:29:01 smurph Exp $ */
+/* $OpenBSD: eisa.c,v 1.8 2001/01/26 22:23:03 mickey Exp $ */
/* $NetBSD: eisa.c,v 1.15 1996/10/21 22:31:01 thorpej Exp $ */
/*
@@ -237,7 +237,7 @@ eisa_devinfo(id, cp)
const char *name;
int onlyvendor;
#ifdef EISAVERBOSE
- struct eisa_knowndev *edp;
+ const struct eisa_knowndev *edp;
int match;
const char *unmatched = "unknown ";
#else