diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2022-04-06 18:59:31 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2022-04-06 18:59:31 +0000 |
commit | ebc1b592da53d1d38401806437530b56bffc8afd (patch) | |
tree | 5ee147f2b5a9dc203dd38da2c735f246fa830f58 /sys/dev/mii/iophy.c | |
parent | 90576ca3c44963267c861feb5432ae35c1ccd46b (diff) |
constify struct cfattach
Diffstat (limited to 'sys/dev/mii/iophy.c')
-rw-r--r-- | sys/dev/mii/iophy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/iophy.c b/sys/dev/mii/iophy.c index 8c8ad975923..b19616677c9 100644 --- a/sys/dev/mii/iophy.c +++ b/sys/dev/mii/iophy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iophy.c,v 1.21 2021/03/05 09:37:20 jsg Exp $ */ +/* $OpenBSD: iophy.c,v 1.22 2022/04/06 18:59:29 naddy Exp $ */ /* $NetBSD: iophy.c,v 1.8 2000/02/02 23:34:56 thorpej Exp $ */ /* @@ -77,7 +77,7 @@ int iophymatch(struct device *, void *, void *); void iophyattach(struct device *, struct device *, void *); -struct cfattach iophy_ca = { +const struct cfattach iophy_ca = { sizeof(struct mii_softc), iophymatch, iophyattach, mii_phy_detach }; |