summaryrefslogtreecommitdiff
path: root/sys/dev/vscsi.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-16 19:20:00 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-16 19:20:00 +0000
commit3f2252f686cee65bad13410024ec6cbfcc38be19 (patch)
treeee0ae78f4f54c084a2ba54ec22fdc79b92656359 /sys/dev/vscsi.c
parent8b389c0d214001555235d6a4f11a6f700ded6bab (diff)
constify SCSI adapter entry points
ok krw@
Diffstat (limited to 'sys/dev/vscsi.c')
-rw-r--r--sys/dev/vscsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c
index cb6b475572c..c78d197bd30 100644
--- a/sys/dev/vscsi.c
+++ b/sys/dev/vscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vscsi.c,v 1.59 2022/04/06 18:59:27 naddy Exp $ */
+/* $OpenBSD: vscsi.c,v 1.60 2022/04/16 19:19:58 naddy Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
@@ -94,7 +94,7 @@ void vscsi_cmd(struct scsi_xfer *);
int vscsi_probe(struct scsi_link *);
void vscsi_free(struct scsi_link *);
-struct scsi_adapter vscsi_switch = {
+const struct scsi_adapter vscsi_switch = {
vscsi_cmd, NULL, vscsi_probe, vscsi_free, NULL
};