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/brgphy.c | |
parent | 90576ca3c44963267c861feb5432ae35c1ccd46b (diff) |
constify struct cfattach
Diffstat (limited to 'sys/dev/mii/brgphy.c')
-rw-r--r-- | sys/dev/mii/brgphy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 24b12294ce8..fbf7be2d5f3 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphy.c,v 1.107 2021/06/17 09:30:32 kettenis Exp $ */ +/* $OpenBSD: brgphy.c,v 1.108 2022/04/06 18:59:29 naddy Exp $ */ /* * Copyright (c) 2000 @@ -63,7 +63,7 @@ int brgphy_probe(struct device *, void *, void *); void brgphy_attach(struct device *, struct device *, void *); -struct cfattach brgphy_ca = { +const struct cfattach brgphy_ca = { sizeof(struct mii_softc), brgphy_probe, brgphy_attach, mii_phy_detach }; |