summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjung <jung@openbsd.org>2015-10-01 18:31:40 +0000
committerjung <jung@openbsd.org>2015-10-01 18:31:40 +0000
commitc94e3108c55d483a3f7cf46b4026aa91fed65282 (patch)
tree5fe50cba27c3308a50d592c4040c996e1308da41
parentremove superfluous sensor_attach() added for debug reasons (diff)
downloadwireguard-openbsd-c94e3108c55d483a3f7cf46b4026aa91fed65282.tar.xz
wireguard-openbsd-c94e3108c55d483a3f7cf46b4026aa91fed65282.zip
add const, prodded by mpi
-rw-r--r--sys/dev/isa/asmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/asmc.c b/sys/dev/isa/asmc.c
index 9f61657e0a4..3efefdd3c6a 100644
--- a/sys/dev/isa/asmc.c
+++ b/sys/dev/isa/asmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asmc.c,v 1.3 2015/10/01 18:24:28 jung Exp $ */
+/* $OpenBSD: asmc.c,v 1.4 2015/10/01 18:31:40 jung Exp $ */
/*
* Copyright (c) 2015 Joerg Jung <jung@openbsd.org>
*
@@ -79,7 +79,7 @@ int asmc_match(struct device *, void *, void *);
void asmc_attach(struct device *, struct device *, void *);
int asmc_detach(struct device *, int);
-struct cfattach asmc_ca = {
+const struct cfattach asmc_ca = {
sizeof(struct asmc_softc), asmc_match, asmc_attach
};