summaryrefslogtreecommitdiff
path: root/sys/dev/mii/dcphy.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
commitebc1b592da53d1d38401806437530b56bffc8afd (patch)
tree5ee147f2b5a9dc203dd38da2c735f246fa830f58 /sys/dev/mii/dcphy.c
parent90576ca3c44963267c861feb5432ae35c1ccd46b (diff)
constify struct cfattach
Diffstat (limited to 'sys/dev/mii/dcphy.c')
-rw-r--r--sys/dev/mii/dcphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/dcphy.c b/sys/dev/mii/dcphy.c
index 09bedb3bdb8..102c49b5120 100644
--- a/sys/dev/mii/dcphy.c
+++ b/sys/dev/mii/dcphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dcphy.c,v 1.25 2013/12/28 03:30:41 deraadt Exp $ */
+/* $OpenBSD: dcphy.c,v 1.26 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -84,7 +84,7 @@
int dcphy_match(struct device *, void *, void *);
void dcphy_attach(struct device *, struct device *, void *);
-struct cfattach dcphy_ca = {
+const struct cfattach dcphy_ca = {
sizeof(struct mii_softc), dcphy_match, dcphy_attach, mii_phy_detach
};