smc: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
36f54203a4
commit
e88935ab97
@ -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",
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user