arm xilinx: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
8537e67130
commit
680ccae390
@ -843,8 +843,6 @@ static driver_t zy7_devcfg_driver = {
|
||||
zy7_devcfg_methods,
|
||||
sizeof(struct zy7_devcfg_softc),
|
||||
};
|
||||
static devclass_t zy7_devcfg_devclass;
|
||||
|
||||
DRIVER_MODULE(zy7_devcfg, simplebus, zy7_devcfg_driver, zy7_devcfg_devclass, \
|
||||
0, 0);
|
||||
DRIVER_MODULE(zy7_devcfg, simplebus, zy7_devcfg_driver, 0, 0);
|
||||
MODULE_DEPEND(zy7_devcfg, zy7_slcr, 1, 1, 1);
|
||||
|
@ -365,7 +365,6 @@ static driver_t ehci_driver = {
|
||||
ehci_methods,
|
||||
sizeof(struct ehci_softc),
|
||||
};
|
||||
static devclass_t ehci_devclass;
|
||||
|
||||
DRIVER_MODULE(zy7_ehci, simplebus, ehci_driver, ehci_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(zy7_ehci, simplebus, ehci_driver, NULL, NULL);
|
||||
MODULE_DEPEND(zy7_ehci, usb, 1, 1, 1);
|
||||
|
@ -371,7 +371,5 @@ static driver_t zy7_gpio_driver = {
|
||||
zy7_gpio_methods,
|
||||
sizeof(struct zy7_gpio_softc),
|
||||
};
|
||||
static devclass_t zy7_gpio_devclass;
|
||||
|
||||
DRIVER_MODULE(zy7_gpio, simplebus, zy7_gpio_driver, zy7_gpio_devclass, \
|
||||
NULL, NULL);
|
||||
DRIVER_MODULE(zy7_gpio, simplebus, zy7_gpio_driver, NULL, NULL);
|
||||
|
@ -746,9 +746,8 @@ static driver_t zy7_qspi_driver = {
|
||||
zy7_qspi_methods,
|
||||
sizeof(struct zy7_qspi_softc),
|
||||
};
|
||||
static devclass_t zy7_qspi_devclass;
|
||||
|
||||
DRIVER_MODULE(zy7_qspi, simplebus, zy7_qspi_driver, zy7_qspi_devclass, 0, 0);
|
||||
DRIVER_MODULE(zy7_qspi, simplebus, zy7_qspi_driver, 0, 0);
|
||||
DRIVER_MODULE(ofw_spibus, zy7_qspi, ofw_spibus_driver, 0, 0);
|
||||
SIMPLEBUS_PNP_INFO(compat_data);
|
||||
MODULE_DEPEND(zy7_qspi, ofw_spibus, 1, 1, 1);
|
||||
|
@ -708,7 +708,6 @@ static driver_t zy7_slcr_driver = {
|
||||
zy7_slcr_methods,
|
||||
sizeof(struct zy7_slcr_softc),
|
||||
};
|
||||
static devclass_t zy7_slcr_devclass;
|
||||
|
||||
DRIVER_MODULE(zy7_slcr, simplebus, zy7_slcr_driver, zy7_slcr_devclass, 0, 0);
|
||||
DRIVER_MODULE(zy7_slcr, simplebus, zy7_slcr_driver, 0, 0);
|
||||
MODULE_VERSION(zy7_slcr, 1);
|
||||
|
@ -588,9 +588,8 @@ static driver_t zy7_spi_driver = {
|
||||
zy7_spi_methods,
|
||||
sizeof(struct zy7_spi_softc),
|
||||
};
|
||||
static devclass_t zy7_spi_devclass;
|
||||
|
||||
DRIVER_MODULE(zy7_spi, simplebus, zy7_spi_driver, zy7_spi_devclass, 0, 0);
|
||||
DRIVER_MODULE(zy7_spi, simplebus, zy7_spi_driver, 0, 0);
|
||||
DRIVER_MODULE(ofw_spibus, zy7_spi, ofw_spibus_driver, 0, 0);
|
||||
SIMPLEBUS_PNP_INFO(compat_data);
|
||||
MODULE_DEPEND(zy7_spi, ofw_spibus, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user