summaryrefslogtreecommitdiff
path: root/sys/dev/atapiscsi/atapiscsi.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/atapiscsi/atapiscsi.c
parent8b389c0d214001555235d6a4f11a6f700ded6bab (diff)
constify SCSI adapter entry points
ok krw@
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 622d1687499..5a2d58f7e9f 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.119 2022/04/06 18:59:27 naddy Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.120 2022/04/16 19:19:58 naddy Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -156,7 +156,7 @@ struct atapiscsi_softc {
int wdc_atapi_ioctl(struct scsi_link *, u_long, caddr_t, int);
void wdc_atapi_send_cmd(struct scsi_xfer *sc_xfer);
-static struct scsi_adapter atapiscsi_switch = {
+static const struct scsi_adapter atapiscsi_switch = {
wdc_atapi_send_cmd, NULL, NULL, NULL, wdc_atapi_ioctl
};