summaryrefslogtreecommitdiff
path: root/sys/dev/pci/mpii.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/pci/mpii.c
parent8b389c0d214001555235d6a4f11a6f700ded6bab (diff)
constify SCSI adapter entry points
ok krw@
Diffstat (limited to 'sys/dev/pci/mpii.c')
-rw-r--r--sys/dev/pci/mpii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index abf59e1460e..974ceb88ba7 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.142 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: mpii.c,v 1.143 2022/04/16 19:19:59 naddy Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -266,7 +266,7 @@ void mpii_scsi_cmd_done(struct mpii_ccb *);
int mpii_scsi_probe(struct scsi_link *);
int mpii_scsi_ioctl(struct scsi_link *, u_long, caddr_t, int);
-struct scsi_adapter mpii_switch = {
+const struct scsi_adapter mpii_switch = {
mpii_scsi_cmd, NULL, mpii_scsi_probe, NULL, mpii_scsi_ioctl
};