smc: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-09 14:26:46 -07:00
parent 36f54203a4
commit e88935ab97
3 changed files with 2 additions and 8 deletions

View File

@ -90,8 +90,6 @@ __FBSDID("$FreeBSD$");
#define SMC_RX_PRIORITY 5
#define SMC_TX_PRIORITY 10
devclass_t smc_devclass;
static const char *smc_chip_ids[16] = {
NULL, NULL, NULL,
/* 3 */ "SMSC LAN91C90 or LAN91C92",

View File

@ -72,9 +72,7 @@ static device_method_t smc_acpi_methods[] = {
DEFINE_CLASS_1(smc, smc_acpi_driver, smc_acpi_methods,
sizeof(struct smc_softc), smc_driver);
extern devclass_t smc_devclass;
DRIVER_MODULE(smc, acpi, smc_acpi_driver, smc_devclass, 0, 0);
DRIVER_MODULE(smc, acpi, smc_acpi_driver, 0, 0);
MODULE_DEPEND(smc, acpi, 1, 1, 1);
MODULE_DEPEND(smc, ether, 1, 1, 1);
MODULE_DEPEND(smc, miibus, 1, 1, 1);

View File

@ -77,9 +77,7 @@ static device_method_t smc_fdt_methods[] = {
DEFINE_CLASS_1(smc, smc_fdt_driver, smc_fdt_methods,
sizeof(struct smc_softc), smc_driver);
extern devclass_t smc_devclass;
DRIVER_MODULE(smc, simplebus, smc_fdt_driver, smc_devclass, 0, 0);
DRIVER_MODULE(smc, simplebus, smc_fdt_driver, 0, 0);
MODULE_DEPEND(smc, fdt, 1, 1, 1);
MODULE_DEPEND(smc, ether, 1, 1, 1);
MODULE_DEPEND(smc, miibus, 1, 1, 1);