summaryrefslogtreecommitdiff
path: root/sys/scsi/mpath_emc.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2021-10-24 16:57:31 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2021-10-24 16:57:31 +0000
commitc8be2ba43488e53d0b110913fc7daaad40a60ccf (patch)
treee0efa2bfe34c32cb37768fa2744cbe4764f49a69 /sys/scsi/mpath_emc.c
parent0dd9ae661fa85df8ed28132ccebb89f217a8a0a2 (diff)
Constify struct cfattach.
ok visa@ a long time ago, ok krw@
Diffstat (limited to 'sys/scsi/mpath_emc.c')
-rw-r--r--sys/scsi/mpath_emc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/mpath_emc.c b/sys/scsi/mpath_emc.c
index 6237f5c0024..e6a10b7a720 100644
--- a/sys/scsi/mpath_emc.c
+++ b/sys/scsi/mpath_emc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_emc.c,v 1.23 2020/06/30 18:43:37 krw Exp $ */
+/* $OpenBSD: mpath_emc.c,v 1.24 2021/10/24 16:57:30 mpi Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -70,7 +70,7 @@ void emc_attach(struct device *, struct device *, void *);
int emc_detach(struct device *, int);
int emc_activate(struct device *, int);
-struct cfattach emc_ca = {
+const struct cfattach emc_ca = {
sizeof(struct emc_softc),
emc_match,
emc_attach,