mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
qcom_*: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
b5ed1dc10c
commit
53e1cbefe4
|
@ -172,9 +172,6 @@ static device_method_t qcom_dwc3_methods[] = {
|
|||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t qcom_dwc3_devclass;
|
||||
|
||||
DEFINE_CLASS_1(qcom_dwc3, qcom_dwc3_driver, qcom_dwc3_methods,
|
||||
sizeof(struct qcom_dwc3_softc), simplebus_driver);
|
||||
DRIVER_MODULE(qcom_dwc3, simplebus, qcom_dwc3_driver, qcom_dwc3_devclass,
|
||||
0, 0);
|
||||
DRIVER_MODULE(qcom_dwc3, simplebus, qcom_dwc3_driver, 0, 0);
|
||||
|
|
|
@ -173,12 +173,9 @@ static driver_t qcom_gcc_ipq4018_driver = {
|
|||
qcom_gcc_ipq4018_methods,
|
||||
sizeof(struct qcom_gcc_ipq4018_softc)
|
||||
};
|
||||
static devclass_t qcom_gcc_ipq4018_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(qcom_gcc_ipq4018, simplebus, qcom_gcc_ipq4018_driver,
|
||||
qcom_gcc_ipq4018_devclass, qcom_gcc_ipq4018_modevent, 0,
|
||||
BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
||||
qcom_gcc_ipq4018_modevent, NULL, BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
||||
EARLY_DRIVER_MODULE(qcom_gcc_ipq4018, ofwbus, qcom_gcc_ipq4018_driver,
|
||||
qcom_gcc_ipq4018_devclass, qcom_gcc_ipq4018_modevent, 0,
|
||||
BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
||||
qcom_gcc_ipq4018_modevent, NULL, BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
||||
MODULE_VERSION(qcom_gcc_ipq4018, 1);
|
||||
|
|
|
@ -285,11 +285,9 @@ static driver_t qcom_mdio_ipq4018_driver = {
|
|||
qcom_mdio_ipq4018_methods,
|
||||
sizeof(struct qcom_mdio_ipq4018_softc),
|
||||
};
|
||||
static devclass_t qcom_mdio_ipq4018_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(qcom_mdio_ipq4018, simplebus, qcom_mdio_ipq4018_driver,
|
||||
qcom_mdio_ipq4018_devclass, NULL, 0,
|
||||
BUS_PASS_SUPPORTDEV + BUS_PASS_ORDER_LATE);
|
||||
NULL, NULL, BUS_PASS_SUPPORTDEV + BUS_PASS_ORDER_LATE);
|
||||
|
||||
MODULE_DEPEND(qcom_mdio_ipq4018, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(qcom_mdio_ipq4018, mdio, 1, 1, 1);
|
||||
|
|
|
@ -902,9 +902,7 @@ static driver_t qcom_spi_driver = {
|
|||
sizeof(struct qcom_spi_softc),
|
||||
};
|
||||
|
||||
static devclass_t qcom_spi_devclass;
|
||||
|
||||
DRIVER_MODULE(qcom_spi, simplebus, qcom_spi_driver, qcom_spi_devclass, 0, 0);
|
||||
DRIVER_MODULE(qcom_spi, simplebus, qcom_spi_driver, 0, 0);
|
||||
DRIVER_MODULE(ofw_spibus, qcom_spi, ofw_spibus_driver, 0, 0);
|
||||
MODULE_DEPEND(qcom_spi, ofw_spibus, 1, 1, 1);
|
||||
SIMPLEBUS_PNP_INFO(compat_data);
|
||||
|
|
|
@ -247,11 +247,10 @@ static driver_t qcom_rnd_driver = {
|
|||
qcom_rnd_methods,
|
||||
sizeof(struct qcom_rnd_softc)
|
||||
};
|
||||
static devclass_t qcom_rnd_devclass;
|
||||
|
||||
DRIVER_MODULE(qcom_rnd_random, simplebus, qcom_rnd_driver, qcom_rnd_devclass,
|
||||
DRIVER_MODULE(qcom_rnd_random, simplebus, qcom_rnd_driver,
|
||||
qcom_rnd_modevent, 0);
|
||||
DRIVER_MODULE(qcom_rnd_random, ofwbus, qcom_rnd_driver, qcom_rnd_devclass,
|
||||
DRIVER_MODULE(qcom_rnd_random, ofwbus, qcom_rnd_driver,
|
||||
qcom_rnd_modevent, 0);
|
||||
MODULE_DEPEND(qcom_rnd_random, random_device, 1, 1, 1);
|
||||
MODULE_VERSION(qcom_rnd_random, 1);
|
||||
|
|
|
@ -228,13 +228,10 @@ static driver_t qcom_tcsr_driver = {
|
|||
sizeof(struct qcom_tcsr_softc),
|
||||
};
|
||||
|
||||
static devclass_t qcom_tcsr_devclass;
|
||||
|
||||
/*
|
||||
* This has to be run early, before the rest of the hardware is potentially
|
||||
* probed/attached.
|
||||
*/
|
||||
EARLY_DRIVER_MODULE(qcom_tcsr, simplebus, qcom_tcsr_driver,
|
||||
qcom_tcsr_devclass, 0, 0,
|
||||
EARLY_DRIVER_MODULE(qcom_tcsr, simplebus, qcom_tcsr_driver, 0, 0,
|
||||
BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
|
||||
SIMPLEBUS_PNP_INFO(compat_data);
|
||||
|
|
|
@ -390,11 +390,9 @@ static driver_t qcom_tlmm_ipq4018_driver = {
|
|||
qcom_tlmm_ipq4018_methods,
|
||||
sizeof(struct qcom_tlmm_softc),
|
||||
};
|
||||
static devclass_t qcom_tlmm_ipq4018_devclass;
|
||||
|
||||
|
||||
EARLY_DRIVER_MODULE(qcom_tlmm_ipq4018, simplebus, qcom_tlmm_ipq4018_driver,
|
||||
qcom_tlmm_ipq4018_devclass, NULL, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
NULL, NULL, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
EARLY_DRIVER_MODULE(qcom_tlmm_ipq4018, ofwbus, qcom_tlmm_ipq4018_driver,
|
||||
qcom_tlmm_ipq4018_devclass, NULL, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
NULL, NULL, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
MODULE_VERSION(qcom_tlmm_ipq4018, 1);
|
||||
|
|
Loading…
Reference in a new issue