diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2022-03-11 18:00:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2022-03-11 18:00:54 +0000 |
commit | cfb4d61dc1dd87dca103128e4ad1ae774cc70cdc (patch) | |
tree | 6aea6d82a08b4b76b7e20217ed0f623bff22e12e /sys/dev/pci/bktr | |
parent | b9269c543aa26a0786f58657c5d117f81c8f67e3 (diff) |
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/bktr')
-rw-r--r-- | sys/dev/pci/bktr/bktr_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/bktr/bktr_os.c b/sys/dev/pci/bktr/bktr_os.c index 68557e71a40..cb266015d07 100644 --- a/sys/dev/pci/bktr/bktr_os.c +++ b/sys/dev/pci/bktr/bktr_os.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bktr_os.c,v 1.34 2021/03/05 12:40:14 jsg Exp $ */ +/* $OpenBSD: bktr_os.c,v 1.35 2022/03/11 18:00:53 mpi Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp $ */ /* @@ -110,7 +110,7 @@ paddr_t bktr_mmap(dev_t, off_t, int); static int bktr_probe(struct device *, void *, void *); static void bktr_attach(struct device *, struct device *, void *); -struct cfattach bktr_ca = { +const struct cfattach bktr_ca = { sizeof(struct bktr_softc), bktr_probe, bktr_attach }; |