diff --git a/sys/dev/usb/net/if_mos.c b/sys/dev/usb/net/if_mos.c index 3a65ec6207b..e6aaac95cc7 100644 --- a/sys/dev/usb/net/if_mos.c +++ b/sys/dev/usb/net/if_mos.c @@ -418,7 +418,7 @@ mos_write_mcast(struct mos_softc *sc, u_char *hashtbl) } static int -mos_miibus_readreg(struct device *dev, int phy, int reg) +mos_miibus_readreg(device_t dev, int phy, int reg) { struct mos_softc *sc = device_get_softc(dev); uWord val;