summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2022-09-02 20:06:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2022-09-02 20:06:57 +0000
commit0480d2ad8bcef1a71cd9df2d62518679d800bc78 (patch)
tree13472779310ee770fe03933432f3cb745968b93d /sys/arch/arm
parent5c3b8919b72b59be79fac969c544203b65e7a4dd (diff)
Constify nam2blk[], chrtoblktbl[] and octeon devmap[].
ok mpi@ millert@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/arm/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/arm/conf.c b/sys/arch/arm/arm/conf.c
index a97a2092ed3..3298eb60d67 100644
--- a/sys/arch/arm/arm/conf.c
+++ b/sys/arch/arm/arm/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.58 2021/11/11 10:03:08 claudio Exp $ */
+/* $OpenBSD: conf.c,v 1.59 2022/09/02 20:06:55 miod Exp $ */
/* $NetBSD: conf.c,v 1.10 2002/04/19 01:04:38 wiz Exp $ */
/*
@@ -415,7 +415,7 @@ iszerodev(dev_t dev)
}
-int chrtoblktbl[] = {
+const int chrtoblktbl[] = {
/*VCHR*/ /*VBLK*/
/* 0 */ NODEV,
/* 1 */ NODEV,
@@ -445,7 +445,7 @@ int chrtoblktbl[] = {
/* 25 */ NODEV,
/* 26 */ 26, /* cd */
};
-int nchrtoblktbl = nitems(chrtoblktbl);
+const int nchrtoblktbl = nitems(chrtoblktbl);
dev_t
getnulldev(void)