summaryrefslogtreecommitdiff
path: root/sys/dev/pci/iha_pci.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/iha_pci.c
parent8b389c0d214001555235d6a4f11a6f700ded6bab (diff)
constify SCSI adapter entry points
ok krw@
Diffstat (limited to 'sys/dev/pci/iha_pci.c')
-rw-r--r--sys/dev/pci/iha_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/iha_pci.c b/sys/dev/pci/iha_pci.c
index 85d36239f45..7c12db32282 100644
--- a/sys/dev/pci/iha_pci.c
+++ b/sys/dev/pci/iha_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iha_pci.c,v 1.20 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: iha_pci.c,v 1.21 2022/04/16 19:19:59 naddy Exp $ */
/*-------------------------------------------------------------------------
*
* Device driver for the INI-9XXXU/UW or INIC-940/950 PCI SCSI Controller.
@@ -55,7 +55,7 @@ struct cfdriver iha_cd = {
NULL, "iha", DV_DULL
};
-struct scsi_adapter iha_switch = {
+const struct scsi_adapter iha_switch = {
iha_scsi_cmd, NULL, NULL, NULL, NULL
};