diff options
author | Joerg Jung <jung@cvs.openbsd.org> | 2015-10-01 18:31:41 +0000 |
---|---|---|
committer | Joerg Jung <jung@cvs.openbsd.org> | 2015-10-01 18:31:41 +0000 |
commit | ecac901a7b9e9988a81f5b61ef3b1a2b5a6e18ae (patch) | |
tree | 5c2529b9fe6d0f6a5f708e164f95dc3c10daa946 | |
parent | 5a503116629b7d193c5ddeb5e5a507c3650404df (diff) |
add const, prodded by mpi
-rw-r--r-- | sys/dev/isa/asmc.c | 4 |
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 }; |