diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 85f24280fc4a..09ff2c0123d5 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -86,7 +86,7 @@ static devclass_t brgphy_devclass; static driver_t brgphy_driver = { "brgphy", brgphy_methods, - sizeof(struct mii_softc) + sizeof(struct brgphy_softc) }; DRIVER_MODULE(brgphy, miibus, brgphy_driver, brgphy_devclass, 0, 0);