summaryrefslogtreecommitdiff
path: root/sys/dev/atapiscsi/atapiscsi.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
commitebc1b592da53d1d38401806437530b56bffc8afd (patch)
tree5ee147f2b5a9dc203dd38da2c735f246fa830f58 /sys/dev/atapiscsi/atapiscsi.c
parent90576ca3c44963267c861feb5432ae35c1ccd46b (diff)
constify struct cfattach
Diffstat (limited to 'sys/dev/atapiscsi/atapiscsi.c')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index 8d02a698869..622d1687499 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.118 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.119 2022/04/06 18:59:27 naddy Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -163,7 +163,7 @@ static struct scsi_adapter atapiscsi_switch = {
/* Initial version shares bus_link structure so it can easily
be "attached to current" wdc driver */
-struct cfattach atapiscsi_ca = {
+const struct cfattach atapiscsi_ca = {
sizeof(struct atapiscsi_softc), atapiscsi_match, atapiscsi_attach,
atapiscsi_detach, atapiscsi_activate
};