Remove unused ofwgpiobus_devclass.
This commit is contained in:
parent
5f31d14a92
commit
e8590c9702
@ -1411,13 +1411,13 @@ static driver_t axp2xx_driver = {
|
||||
};
|
||||
|
||||
static devclass_t axp2xx_devclass;
|
||||
extern devclass_t ofwgpiobus_devclass, gpioc_devclass;
|
||||
extern devclass_t gpioc_devclass;
|
||||
extern driver_t ofw_gpiobus_driver, gpioc_driver;
|
||||
|
||||
EARLY_DRIVER_MODULE(axp2xx, iicbus, axp2xx_driver, axp2xx_devclass,
|
||||
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
EARLY_DRIVER_MODULE(ofw_gpiobus, axp2xx_pmu, ofw_gpiobus_driver,
|
||||
ofwgpiobus_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
EARLY_DRIVER_MODULE(ofw_gpiobus, axp2xx_pmu, ofw_gpiobus_driver, 0, 0,
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
DRIVER_MODULE(gpioc, axp2xx_pmu, gpioc_driver, gpioc_devclass,
|
||||
0, 0);
|
||||
MODULE_VERSION(axp2xx, 1);
|
||||
|
@ -1652,13 +1652,13 @@ static driver_t axp8xx_driver = {
|
||||
};
|
||||
|
||||
static devclass_t axp8xx_devclass;
|
||||
extern devclass_t ofwgpiobus_devclass, gpioc_devclass;
|
||||
extern devclass_t gpioc_devclass;
|
||||
extern driver_t ofw_gpiobus_driver, gpioc_driver;
|
||||
|
||||
EARLY_DRIVER_MODULE(axp8xx, iicbus, axp8xx_driver, axp8xx_devclass, 0, 0,
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
|
||||
EARLY_DRIVER_MODULE(ofw_gpiobus, axp8xx_pmu, ofw_gpiobus_driver,
|
||||
ofwgpiobus_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
|
||||
EARLY_DRIVER_MODULE(ofw_gpiobus, axp8xx_pmu, ofw_gpiobus_driver, 0, 0,
|
||||
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
|
||||
DRIVER_MODULE(gpioc, axp8xx_pmu, gpioc_driver, gpioc_devclass, 0, 0);
|
||||
MODULE_VERSION(axp8xx, 1);
|
||||
MODULE_DEPEND(axp8xx, iicbus, 1, 1, 1);
|
||||
|
@ -507,11 +507,8 @@ static device_method_t ofw_gpiobus_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
devclass_t ofwgpiobus_devclass;
|
||||
|
||||
DEFINE_CLASS_1(gpiobus, ofw_gpiobus_driver, ofw_gpiobus_methods,
|
||||
sizeof(struct gpiobus_softc), gpiobus_driver);
|
||||
EARLY_DRIVER_MODULE(ofw_gpiobus, gpio, ofw_gpiobus_driver, ofwgpiobus_devclass,
|
||||
0, 0, BUS_PASS_BUS);
|
||||
EARLY_DRIVER_MODULE(ofw_gpiobus, gpio, ofw_gpiobus_driver, 0, 0, BUS_PASS_BUS);
|
||||
MODULE_VERSION(ofw_gpiobus, 1);
|
||||
MODULE_DEPEND(ofw_gpiobus, gpiobus, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user