diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-10-24 16:57:31 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-10-24 16:57:31 +0000 |
commit | c8be2ba43488e53d0b110913fc7daaad40a60ccf (patch) | |
tree | e0efa2bfe34c32cb37768fa2744cbe4764f49a69 /sys/scsi/st.c | |
parent | 0dd9ae661fa85df8ed28132ccebb89f217a8a0a2 (diff) |
Constify struct cfattach.
ok visa@ a long time ago, ok krw@
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r-- | sys/scsi/st.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c index 2f73f79d3a3..104269ef3c9 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -1,4 +1,4 @@ -/* $OpenBSD: st.c,v 1.186 2021/03/12 10:22:46 jsg Exp $ */ +/* $OpenBSD: st.c,v 1.187 2021/10/24 16:57:30 mpi Exp $ */ /* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */ /* @@ -223,7 +223,7 @@ int st_interpret_sense(struct scsi_xfer *); int st_touch_tape(struct st_softc *); int st_erase(struct st_softc *, int, int); -struct cfattach st_ca = { +const struct cfattach st_ca = { sizeof(struct st_softc), stmatch, stattach, stdetach, stactivate }; |