mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
xilinx: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
da4650a576
commit
90b8b22435
4 changed files with 5 additions and 15 deletions
|
|
@ -230,6 +230,4 @@ static driver_t spi_driver = {
|
|||
sizeof(struct spi_softc),
|
||||
};
|
||||
|
||||
static devclass_t spi_devclass;
|
||||
|
||||
DRIVER_MODULE(spi, simplebus, spi_driver, spi_devclass, 0, 0);
|
||||
DRIVER_MODULE(spi, simplebus, spi_driver, 0, 0);
|
||||
|
|
|
|||
|
|
@ -632,7 +632,5 @@ static driver_t axidma_driver = {
|
|||
sizeof(struct axidma_softc),
|
||||
};
|
||||
|
||||
static devclass_t axidma_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(axidma, simplebus, axidma_driver, axidma_devclass, 0, 0,
|
||||
EARLY_DRIVER_MODULE(axidma, simplebus, axidma_driver, 0, 0,
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
|
|
|
|||
|
|
@ -1146,9 +1146,7 @@ driver_t xae_driver = {
|
|||
sizeof(struct xae_softc),
|
||||
};
|
||||
|
||||
static devclass_t xae_devclass;
|
||||
|
||||
DRIVER_MODULE(xae, simplebus, xae_driver, xae_devclass, 0, 0);
|
||||
DRIVER_MODULE(xae, simplebus, xae_driver, 0, 0);
|
||||
DRIVER_MODULE(miibus, xae, miibus_driver, 0, 0);
|
||||
|
||||
MODULE_DEPEND(xae, ether, 1, 1, 1);
|
||||
|
|
|
|||
|
|
@ -785,9 +785,5 @@ static device_method_t xlnx_pcib_fdt_methods[] = {
|
|||
DEFINE_CLASS_1(pcib, xlnx_pcib_fdt_driver, xlnx_pcib_fdt_methods,
|
||||
sizeof(struct xlnx_pcib_softc), generic_pcie_fdt_driver);
|
||||
|
||||
static devclass_t xlnx_pcib_fdt_devclass;
|
||||
|
||||
DRIVER_MODULE(xlnx_pcib, simplebus, xlnx_pcib_fdt_driver,
|
||||
xlnx_pcib_fdt_devclass, 0, 0);
|
||||
DRIVER_MODULE(xlnx_pcib, ofwbus, xlnx_pcib_fdt_driver,
|
||||
xlnx_pcib_fdt_devclass, 0, 0);
|
||||
DRIVER_MODULE(xlnx_pcib, simplebus, xlnx_pcib_fdt_driver, 0, 0);
|
||||
DRIVER_MODULE(xlnx_pcib, ofwbus, xlnx_pcib_fdt_driver, 0, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue