summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/ehci_fdt.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2021-10-24 17:52:29 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2021-10-24 17:52:29 +0000
commita659756f5b7f65c299334dd83e8c990521498c1c (patch)
treed5e3557e6d709f590a885118b803d0d65b252e85 /sys/dev/fdt/ehci_fdt.c
parente4e05f78be131db9b43987c72b93a5836d7b468f (diff)
Constify struct cfattach.
ok visa@ a long time ago, ok patrick@
Diffstat (limited to 'sys/dev/fdt/ehci_fdt.c')
-rw-r--r--sys/dev/fdt/ehci_fdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/ehci_fdt.c b/sys/dev/fdt/ehci_fdt.c
index 807fac3d441..a1bd6522a7c 100644
--- a/sys/dev/fdt/ehci_fdt.c
+++ b/sys/dev/fdt/ehci_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci_fdt.c,v 1.6 2019/08/11 11:16:05 kettenis Exp $ */
+/* $OpenBSD: ehci_fdt.c,v 1.7 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -50,7 +50,7 @@ int ehci_fdt_match(struct device *, void *, void *);
void ehci_fdt_attach(struct device *, struct device *, void *);
int ehci_fdt_detach(struct device *, int);
-struct cfattach ehci_fdt_ca = {
+const struct cfattach ehci_fdt_ca = {
sizeof(struct ehci_fdt_softc), ehci_fdt_match, ehci_fdt_attach,
ehci_fdt_detach, ehci_activate
};