fxp: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
b9c38d5be6
commit
a11ab694f2
@ -303,10 +303,7 @@ static driver_t fxp_driver = {
|
||||
sizeof(struct fxp_softc),
|
||||
};
|
||||
|
||||
static devclass_t fxp_devclass;
|
||||
|
||||
DRIVER_MODULE_ORDERED(fxp, pci, fxp_driver, fxp_devclass, NULL, NULL,
|
||||
SI_ORDER_ANY);
|
||||
DRIVER_MODULE_ORDERED(fxp, pci, fxp_driver, NULL, NULL, SI_ORDER_ANY);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, fxp, fxp_ident_table,
|
||||
nitems(fxp_ident_table) - 1);
|
||||
DRIVER_MODULE(miibus, fxp, miibus_driver, NULL, NULL);
|
||||
|
@ -68,15 +68,13 @@ static device_method_t inphy_methods[] = {
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
static devclass_t inphy_devclass;
|
||||
|
||||
static driver_t inphy_driver = {
|
||||
"inphy",
|
||||
inphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(inphy, miibus, inphy_driver, inphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(inphy, miibus, inphy_driver, 0, 0);
|
||||
|
||||
static int inphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void inphy_status(struct mii_softc *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user